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
- id: C1 claim: Overlay networks use the overlay network driver. source: S1 evidence: "use the overlay network driver"
- id: C2 claim: Ingress is a special overlay network for load balancing a service's nodes. source: S1 evidence: "facilitates load balancing among a service's nodes"
- id: C3 claim: The ingress network is created when you initialize or join a swarm. source: S2 evidence: "created automatically when you initialize or join a swarm"
- id: C4 claim: UDP port 4789 is the default overlay data path, and it is configurable. source: S1 evidence: "Port 4789 UDP (configurable) for the overlay network (including ingress) data path."
Sources
- [S1] Manage swarm service networks. Docker, Inc.. https://docs.docker.com/engine/swarm/networking/ . License: Apache License 2.0. Accessed 2026-11-26.
- [S2] Manage swarm service networks (source). Docker, Inc.. https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/swarm/networking.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., 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
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.},
}
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-networking.schema.json (schema; CC-BY-4.0)
- docker-swarm-networking.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-networking.md.