Docker Swarm that uses just nodes? [duplicate]

This question already has an answer here:

  • Docker swarm run tasks only in workers

    2 answers

  • Connection refused while connecting to a docker image deployed on Elastic Beanstalk
  • Among Kubernetes, OpenShift, Docker Swarm and Docker DataCenter deployment tools which all are having automatic rollback?
  • celery pdb running inside docker container with changing listening port
  • Docker - Mac OSX Ubuntu fails on apt-get update
  • Running docker gitlab-runner with net=host option
  • Can't connect to MySQL inside docker image
  • Running multiple instances of an image with docker-compose fails
  • Docker + MYSQL: Can't access mysql outside the container
  • How can I curl while django development server is running?
  • Vagrant: Passing docker run arguments to multiple containers using vagrant
  • Docker create images “Ubuntu 14.04” with Docker file
  • How to get ssh connection with docker container on OSX(boot2docker)
  • 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.