Docker Swarm that uses just nodes? [duplicate]

This question already has an answer here:

  • Docker swarm run tasks only in workers

    2 answers

  • Clone a repo inside a docker shared folder after being mounted
  • Docker containers can't access local network DNS
  • Docker plugin : /src/main/docker/Dockerfile gradle-docker fails
  • How do I provide dynamic host names for all docker containers?
  • How to inject external environment variables to jenkins configuration and pipeline jobs?
  • Start sshd automatically with docker container
  • Amazon ECS “the referenced cluster was inactive”
  • How to run cucumber/selenium tests in Docker?
  • How to run multiple boot2docker with docker-machine?
  • curl Flask web service inside Docker container
  • docker enterprise solution?
  • Understanding chroot
  • 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.