← All notes

Docker Swarm networking: overlay networks, ingress, and service traffic

Answer: Overlay networks carry traffic among the Docker daemons that participate in a swarm.

Overlay and ingress

You can create overlay networks the same way you create user-defined networks for standalone containers.

A service can attach to one or more existing overlay networks so services can talk to each other.

These networks are ordinary Docker networks whose driver is overlay.

Ingress is the special overlay used to load-balance among a service's nodes.

Default networks and ports

The ingress network is created automatically when you initialize or join a swarm.

By default, each service container is also connected to its daemon host's docker_gwbridge network.

The docker_gwbridge network is also created automatically when you initialize or join a swarm.

Overlay data-path traffic uses UDP port 4789 by default, and that port is configurable.

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., Manage swarm service networks; Docker, Inc., Manage swarm service networks (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., Manage swarm service networks; Docker, Inc., Manage swarm service networks (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc.

Cite this

Permanent ID: iil:note:hws7xy13

iinventedlight. 2026. "Docker Swarm networking: overlay networks, ingress, and service traffic." iinventedlight Library, iil:note:hws7xy13, version of 2026-11-26. https://iinventedlight.com/library/notes/docker-swarm-networking/. License: CC-BY-4.0.

@misc{iil_note_hws7xy13,
  author = {{iinventedlight}},
  title = {{Docker Swarm networking: overlay networks, ingress, and service traffic}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-26},
  url = {https://iinventedlight.com/library/notes/docker-swarm-networking/},
  note = {Permanent ID iil:note:hws7xy13. 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-networking.md.