docker swarm leave --force

[root@bogon ~]# docker swarm init --advertise-addr 192.168.56.104
Error response from daemon: This node is already part of a swarm. Use “docker swarm leave” to leave this swarm and join another one.
加入集群的时候报错,可以尝试,强制离开集群。
docker swarm leave --force

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐