After upgrading to 1.12.0-rc4-beta2 and log into manager, be able to use docker swarm commands like docker node ls or deploy services.
$ docker node ls
Error response from daemon: This node is not a Swarm manager. Worker nodes can’t be used to view or modify cluster state. Please run this command on a manager node or promote the current node to a manager.
$ docker info
Error: rpc error: code = 2 desc = raft: no elected cluster leader
Steps to reproduce the behavior
- Upgrade to 1.12.0-rc4-beta2 following instructions
- Use the connection string returned by CloudFormation
- docker node ls