Docker Swarm that uses just nodes? [duplicate]

This question already has an answer here:

  • Docker swarm run tasks only in workers

    2 answers

  • Dockerized database passwords management
  • Docker build takes too long
  • Not able to read the image LABEL key and values of particular image using AWS java APIs
  • How can I filter on Windows-based or Linux-based containers within Docker Hub?
  • Docker compose - build order, database before the app
  • Does file touch create a copy in the docker container layer?
  • Using Docker in local development [closed]
  • How to access a web application running on Mesos?
  • Application doesn't receive SIGTERM in Docker
  • Windows Docker2boot example cannot open page from localhost
  • add yaml extension to php on using official Alpine Docker image
  • How to create a Jenkins job and/or user from a dockerfile?
  • One Solution collect form web for “Docker Swarm that uses just nodes? [duplicate]”

    To prevent Docker swarm from publishing containers to a node, you need to set its availability to pause or drain using :

    docker node update --availability drain mynode

    You can to this for all of your managers node

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.