0Pricing
Docker & DevOps Fundamentals · Lesson

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=5

All lessons in this course

  1. Introduction to Docker Swarm
  2. Setting Up a Swarm Cluster
  3. Deploying Services to Swarm
  4. Scaling and Rolling Updates in Swarm
← Back to Docker & DevOps Fundamentals