Error response from daemon: rpc error: code = Unknown desc = The swarm does not have a leader. It’s possible that too few managers are online. Make sure more than half of the managers are online.
解决办法:请注意配置安全组,将docker swarm的所有节点ip设置到安全组。
ECS示例:
EC2示例:



