I have 2 VMs.
On the first I run:
docker swarm join-token manager
在第二个步骤中,我运行了此命令的结果。
即:
docker swarm join --token SWMTKN-1-0wyjx6pp0go18oz9c62cda7d3v5fvrwwb444o33x56kxhzjda8-9uxcepj9pbhggtecds324a06u 192.168.65.3:2377
然而,这将输出:
Error response from daemon: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 192.168.65.3:2377: connect: connection refused"
有什么想法出了问题吗?
如果有帮助,我是使用Vagrant来启动这些虚拟机的。