Introduction
When you want to run multiple Docker containers across several machines as one group, you use Swarm mode. Initializing Swarm mode sets up your machine as the manager that controls this group.
When you want to manage a cluster of Docker hosts as a single system.
When you need to deploy services that can scale across multiple servers.
When you want automatic load balancing between containers running on different machines.
When you want to easily add or remove machines from your container cluster.
When you want to ensure high availability by having multiple managers in your cluster.