为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:8
【操作系统】:麒麟
【CPU】:
【问题描述】*:我的docker-composepoe配置如下:
version: ‘3’
services:
dm8:
image: dm8:bds
container_name: dm8_bds
restart: always
ports:
- 15236:5236
volumes:
- ./data:/dm8/data
#- /etc/localtime:/etc/localtime:ro
command: /bin/bash /startDm.sh
按官方加载镜像后,docker-compose配置如下
version: ‘3’
services:
dm:
image: dm:latest
container_name: dm
restart: always
ports:
- 25236:5236
volumes:
- ./data:/opt/dmdbms/data:rw
- /etc/localtime:/etc/localtime:ro
command: /bin/bash /opt/startup.sh
注意挂载路径和启动脚本和之前版本不一样