← All notes

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

Sources

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

Permanent ID: iil:note:pak3ggf4

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.},
}

Markdown

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.

All artifact files (JSON index)

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.