Doris 2.1.7 Docker 部署 Doris,下掉重启失败

Viewed 43

这是部署文件
version: "3"
services:
fe:
image: apache/doris:doris-fe-2.1.7
hostname: fe
networks:
doris-network:
ipv4_address: 172.18.0.100
ports:
- "8030:8030"
- "9030:9030"
environment:
- FE_SERVERS=fe1:172.18.0.100:9010
- FE_ID=1
volumes:
- /data/doris/fe/doris-meta:/opt/apache-doris/fe/doris-meta
- /data/doris/fe/log:/opt/apache-doris/fe/log
- /data/doris/fe/conf:/opt/apache-doris/fe/conf

be:
image: apache/doris:doris-be-2.1.7
hostname: be
networks:
doris-network:
ipv4_address: 172.18.0.101
ports:
- "8040:8040"
environment:
- FE_SERVERS=fe1:172.18.0.100:9010
- BE_ADDR=172.18.0.101:9050
volumes:
- /data/doris/be/storage:/opt/apache-doris/be/storage
- /data/doris/be/log:/opt/apache-doris/be/log
- /data/doris/be/conf:/opt/apache-doris/be/conf
depends_on:
- fe

networks:
doris-network:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/24

第一次部署成功后,创建连接,修改密码,创建库,表都没问题。然后docker-compose down后,重新docker-compose up -d 就起不来报错。

image.png
一直刷这个错误

2 Answers

conf文件不要挂载,如果想要修改conf文件,启动后,进入docker修改对应的文件就行了

不要挂载conf,删除全部挂载文件,重置集群,即可