gpt4 book ai didi

docker - 将节点加入 docker swarm 失败

转载 作者:行者123 更新时间:2023-12-04 23:15:40 24 4
gpt4 key购买 nike

我在 Docker Swarm 中有两台服务器,但是当我需要添加第三台服务器时 - 我得到了结果:

Error response from daemon: rpc error: code = 14 desc = grpc: the connection is unavailable



一个网络中的所有服务器。

可能是什么问题呢?

最佳答案

我会说这可能与防火墙有关。确保在第三个盒子上正确配置了您的端口。从 Docker docs :

Open protocols and ports between the hosts The following ports must be available. On some systems, these ports are open by default.

TCP port 2377 for cluster management communications TCP and UDP port 7946 for communication among nodes UDP port 4789 for overlay network traffic

关于docker - 将节点加入 docker swarm 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43370865/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com