【已解决】docker 启动be失败

Viewed 55

2024-04-22T04:22:17+00:00 [Note] [Entrypoint]: add priority_networks to /opt/apache-doris/be/conf/be.conf
2024-04-22T04:22:17+00:00 [Note] [Entrypoint]: this node role is mix
2024-04-22T04:22:17+00:00 [Note] [Entrypoint]: ============= init args ================
2024-04-22T04:22:17+00:00 [Note] [Entrypoint]: MASTER_FE_IP
2024-04-22T04:22:17+00:00 [Note] [Entrypoint]: CURRENT_BE_IP
2024-04-22T04:22:17+00:00 [Note] [Entrypoint]: CURRENT_BE_PORT
2024-04-22T04:22:17+00:00 [Note] [Entrypoint]: RUN_TYPE
2024-04-22T04:22:17+00:00 [Note] [Entrypoint]: PRIORITY_NETWORKS
2024-04-22T04:22:17+00:00 [Note] [Entrypoint]: Register BE to FE is failed. retry.
2024-04-22T04:22:37+00:00 [Note] [Entrypoint]: Register BE to FE is failed. retry.
2024-04-22T04:22:57+00:00 [Note] [Entrypoint]: Register BE to FE is failed. retry.
2024-04-22T04:23:17+00:00 [Note] [Entrypoint]: Register BE to FE is failed. retry.
2024-04-22T04:23:38+00:00 [Note] [Entrypoint]: Register BE to FE is failed. retry.
2024-04-22T04:23:58+00:00 [Note] [Entrypoint]: Register BE to FE is failed. retry.

fe配置:

docker run -itd \
--name=doris-fe \
--env FE_SERVERS="fe1:172.22.1.20:9010" \
--env FE_ID=1 \
-p 8030:8030 \
-p 9030:9030 \
-v /doris/fe/doris-meta:/opt/apache-doris/fe/doris-meta \
-v /doris/fe/log:/opt/apache-doris/fe/log \
apache-doris:2.1-fe

be配置:

docker rm -f doris-be
docker run --name=doris-be \
--env FE_SERVERS="fe1:172.22.1.20:9010" \
--env BE_ADDR="172.22.1.20:9050" \
-p 8040:8040 \
-v /doris/be/storage:/opt/apache-doris/be/storage \
-v /doris/be/log:/opt/apache-doris/be/log \
-v /doris/be/conf:/opt/apache-doris/be/conf \
apache-doris:2.1-be
1 Answers