某些提供商(如ScaleWay )将为您的服务器提供一个未连接到机箱上的本地接口的IP。# dockerswarm init --advertise-addr <my-external-ip>:2377 --listen-addr 0.0.0.0:2377because the address to advertise is not recognized as a system address# <e
问题是,我只能将我的swarm worker和master连接到单个节点,如果该节点宕机,那么swarm将停止工作。那么,如何将swarm workers和masters连接到我的所有节点呢?如果从主服务器运行以下命令,将设置连接到单个consul服务器的swarm环境: #### REFERENCE# {{consul_i}} is the IP address of the c