0

After setting up multiple worker swarm cluster, When i try to login to the master node and access the list of worker nodes. It gives me an error.

root@swarm-master-91881543-0:~# docker node ls
Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.
root@swarm-master-91881543-0:~#
biz
  • 1
  • 3
  • 1
    ...then you're running not docker swarm mode – Markus Dec 18 '17 at 19:19
  • As Markus mentioned above. Looks like you are not running in docker swarm mode – micahmckittrick Dec 18 '17 at 19:55
  • More details of the swarm cluster. https://www.pastiebin.com/5a389f1b0fbe8 – biz Dec 19 '17 at 05:07
  • When i try doing the same from docker cloud it works without any issues.. – biz Dec 19 '17 at 05:10
  • As mentioned by Micah, use the newer SwarmMode - for launching two different products named 'swarm'. The cmdlet to do that: az acs create --name mySwarmCluster --orchestrator-type dockerce --resource-group myResourceGroup --generate-ssh-keys. Refer the document for details: https://learn.microsoft.com/en-us/azure/container-service/dcos-swarm/container-service-swarm-mode-walkthrough - Do let us know if this helps. – AjayKumar Dec 21 '17 at 19:30
  • @Ajay As i have already integrated docker cloud with azure i use dockerce as the orchestrator, My only question is why ACS does not show dockerce as an option as swarm is not working... Attaching the screenshot https://snag.gy/KmPryc.jpg – biz Dec 21 '17 at 20:12

1 Answers1

0

@biz DockerCE isn't available through the actual portal yet. You'll need to provision through the Azure CLI with the command @Ajay mentioned.