thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Intermediate

Docker Swarm

Docker's built-in container orchestration mode that clusters Docker hosts into managers and workers running replicated services.

Definition

Swarm mode uses Raft consensus among managers, supports services, stacks, overlay networks, secrets, configs, rolling updates, and an ingress routing mesh. It is simpler than Kubernetes but less widely adopted.

Example

docker service create --replicas 3 -p 80:80 nginx

Exam tip

Keep an odd number of managers (3 or 5) to maintain Raft quorum.

Related terms