Scaling and Rolling Updates in Swarm
Scale services across the swarm, perform zero-downtime rolling updates, and roll back automatically when an update goes wrong.
Services Are Scalable
In Swarm a service describes a desired number of identical container replicas. The swarm manager constantly works to keep that many running across nodes.
Scaling a Service
Change the replica count at any time with docker service scale. The scheduler spreads new tasks across available nodes.
docker service scale web=5All lessons in this course
- Introduction to Docker Swarm
- Setting Up a Swarm Cluster
- Deploying Services to Swarm
- Scaling and Rolling Updates in Swarm