Docker Swarm administration: manager nodes, Raft, and quorum
Answer: Manager nodes are the key components for managing a Docker swarm and storing its state.
Managers and Raft
Swarm manager nodes use the Raft Consensus Algorithm to manage the swarm state.
There is no limit on the number of manager nodes.
Adding managers makes the swarm more fault-tolerant.
Extra managers also reduce write performance, because more nodes must acknowledge proposals.
Keeping a quorum
Membership changes need a majority of managers, also called the quorum, to agree.
If the swarm loses that quorum, it cannot perform management tasks.
An odd number of managers is recommended so a network partition is more likely to keep a quorum.
In a swarm with five managers, a minimum of three must stay in communication.
See also
Claims
- id: C1 claim: Manager nodes are the key components for managing the swarm and storing the swarm state. source: S1 evidence: "manager nodes are the key components for managing the swarm and storing the swarm state"
- id: C2 claim: Adding manager nodes to a swarm makes the swarm more fault-tolerant. source: S1 evidence: "Adding manager nodes to a swarm makes the swarm more fault-tolerant"
- id: C3 claim: There is no limit on the number of manager nodes. source: S2 evidence: "There is no limit on the number of manager nodes"
- id: C4 claim: Raft requires a majority of managers, also called the quorum. source: S2 evidence: "Raft requires a majority of managers, also called the quorum"
Sources
- [S1] Administer and maintain a swarm of Docker Engines. Docker, Inc.. https://docs.docker.com/engine/swarm/admin_guide/ . License: Apache License 2.0. Accessed 2026-11-26.
- [S2] Administer and maintain a swarm of Docker Engines (source). Docker, Inc.. https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/swarm/admin_guide.md . License: Apache License 2.0. Accessed 2026-11-26.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Administer and maintain a swarm of Docker Engines; Docker, Inc., Administer and maintain a swarm of Docker Engines (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Administer and maintain a swarm of Docker Engines; Docker, Inc., Administer and maintain a swarm of Docker Engines (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc.
Cite this
iinventedlight. 2026. "Docker Swarm administration: manager nodes, Raft, and quorum." iinventedlight Library, iil:note:pak3ggf4, version of 2026-11-26. https://iinventedlight.com/library/notes/docker-swarm-admin/. License: CC-BY-4.0.
@misc{iil_note_pak3ggf4,
author = {{iinventedlight}},
title = {{Docker Swarm administration: manager nodes, Raft, and quorum}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-26},
url = {https://iinventedlight.com/library/notes/docker-swarm-admin/},
note = {Permanent ID iil:note:pak3ggf4. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- docker-swarm-admin.schema.json (schema; CC-BY-4.0)
- docker-swarm-admin.table.json (table; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/docker-swarm-admin.md.