Docker for Azure - no swarm mode?

314 Views Asked by At

I just tried Docker 4 Azure Beta, but I'm confused right at the beginning. When I SSH into docker manager VM and do docker info or docker service ls I see that there is no swarm enabled? Why? What's going on here? Do I have to enable it by myself? But as I understand, I have no option to SSH into my worker nodes, so how would I do this?

Or is there some "azure-clustering" configured instead of Docker Swarm? But why would they do so - and how can I manage my cluster/swarm in that case (scaling container count up and down)?

2

There are 2 best solutions below

0
On

Old school Docker clustering (swarm) is supported out of the box. Swarm Mode is available in the UK region at the moment.

I was wondering why running a custom template gives me the option to select Swarm Mode and also asks if I am in the UK, then I found this!

I'll give it a try to check what happens if I select swarm mode but I am quite certain the deployment will fail since my account is in Greece.

0
On

After you login to one of the manager VMs, you should be able to execute docker node ls and see all the VMs brought up through the ARM template as part of the swarm. The swarm should have been configured for you as part of the VM bring-up. Did you correctly generate an Azure Service Principal and pass in the credential details to the ARM template?