Docker Swarm that uses just nodes? [duplicate]

This question already has an answer here:

  • Docker swarm run tasks only in workers

    2 answers

  • Is it useful to run publicly-reachable applications as Docker containers just for the sake of security?
  • IP variable expansion in Kubernetes Pod definition
  • Dynamically change docker volume
  • Private Docker Registry with Azure Storage and Nginx: 502 Bad Gateway
  • Destination location when using ADD command if <dest> is not provided
  • What is the exact difference between SizeRootFs and SizeRw in Docker containers?
  • docker start: no space left on device
  • I want to share code content across several containers using docker-compose volume directive
  • ImportError: cannot import name <package> in pods while restarting pod fixes
  • In virtual-machine Docker push to private registry failed under proxy
  • etcd username password with docker daemon parameters
  • Docker registry (distribution) token authentication setup
  • 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.