locked
Docker Swarm Mode and Azure Container Services RRS feed

  • Question

  • When I try to create a new container service in the Azure web portal, one of the orchestrator options is 'Swarm'. If I generate a container service with that orchestrator, it appears to be using the legacy Docker Swarm platform instead of the current Docker Swarm Mode. When I SSH into the manager VM and poke around, this is what I see:

    azureuser@swarm-master-176F32D0-0:~$ docker service 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.

    azureuser@swarm-master-176F32D0-0:~$ docker ps
    CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                                                                                                                                NAMES
    59a8b327f400        swarm:1.1.0         "/swarm manage --r..."   12 minutes ago      Up 10 minutes       0.0.0.0:2375->2375/tcp                                                                                                               containers_swarm_1
    46d9d022e756        progrium/consul     "/bin/start -serve..."   12 minutes ago      Up 10 minutes       0.0.0.0:8300-8302->8300-8302/tcp, 0.0.0.0:8400->8400/tcp, 53/tcp, 53/udp, 0.0.0.0:8500->8500/tcp, 0.0.0.0:8301-8302->8301-8302/udp   containers_consul_1

    Is the only way to get swarm mode right now to feed in a template instead of using the web portal's wizard to generate one?

    I asked @AzureSupport about this on Twitter ( https://twitter.com/AzureSupport/status/834157284649377792 ), and they said to post here :)

    Wednesday, February 22, 2017 4:44 PM

All replies

  • For specialized assistance on Azure Container Service issue, post your query here: http://stackoverflow.com/questions/tagged/azure-container-service

    Thursday, February 23, 2017 10:46 AM
  • I am having the same issue , did you ever resolve it ?
    Tuesday, May 16, 2017 8:37 PM
  • The Swarm mode has to be initialized. The ACS Swarm is a cluster of virtual machines with Docker running on each. 
    Friday, October 13, 2017 5:20 PM
  • The Docker Swarm orchestrator in Azure Container Service uses legacy standalone Swarm. Currently, the integrated Swarm mode (in Docker 1.12 and higher) is not a supported orchestrator in Azure Container Service. If you want to deploy a Swarm mode cluster in Azure, use the open-source ACS Engine, a community-contributed quickstart template, or a Docker solution in the Azure Marketplace.

     

    Refer the document Container management with Docker Swarm for more details.

    --------------------------------------------------------------------------------------------------

    Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.

    Tuesday, October 17, 2017 4:51 PM