无法连接到数码海洋上的docker群

我有一个docker群的问题。 我在DigitalOcean上创build了2个实例,我将分别用公有IP地址100.0.0.1和100.0.0.2来引用它们。 我ssh进入第一个液滴作为根,并试图运行命令docker swarm init ,它返回一个错误, eth0绑定到2个IP地址的公共IP地址和私人IP地址。
然后我试着运行docker swarm init --advertise-addr 10.0.0.1来防止这个和swarm的工作。 但是,无论何时我尝试使用连接命令从第二滴或本地机器的任何地方连接到它时,它都会打印出来,它会返回Error response from daemon: Timeout was reached before node was joined. The attempt to join the swarm will continue in the background. Use the "docker info" command to see the current swarm status of your node. Error response from daemon: Timeout was reached before node was joined. The attempt to join the swarm will continue in the background. Use the "docker info" command to see the current swarm status of your node. 但它永远不会连接到群体。
我试着在没有advertise-addr的情况下在ec2上运行相同的程序,并且完美地工作,这个问题只在我使用DigitalOcean的时候出现。 任何帮助?
谢谢。