
Docker Swarm
Docker Swarm is a cluster management feature built into Docker Engine for running workloads across multiple Docker daemons in production.
What Docker Swarm is
Docker Swarm is a cluster management feature built into Docker Engine for running workloads across multiple Docker daemons in production. It is managed through the Docker CLI and needs no additional orchestration software. Managers use a declarative model to maintain the requested service state, including replica counts, networks, storage resources, and exposed ports. Services can be replicated or run globally, with one task on every node. Swarm provides overlay networking between daemons, an ingress network for load balancing, and service discovery through DNS names, virtual IPs, or DNS round-robin. It supports incremental service updates and rollback to a previous version. Nodes authenticate and encrypt communications with mutual TLS, with TLS 1.2 as the minimum. Application data on overlay networks is not encrypted by default; enabling overlay encryption with IPsec can impose a non-negligible performance penalty. Nodes also require TCP/UDP port 7946 for network discovery and UDP port 4789 by default for overlay traffic. Docker recommends at most seven manager nodes and /24 overlay network blocks, which limit a network to 256 IP addresses.
Good
- Built into Docker Engine and managed with the Docker CLI.
- Supports replicated and global services.
- Incremental updates can be rolled back.
- Nodes use mutual TLS with TLS 1.2 minimum.
Watch out
- Overlay application data is not encrypted by default.
- IPsec overlay encryption can reduce performance.
- Docker recommends a maximum of seven manager nodes.
- Recommended /24 overlay blocks allow 256 IP addresses.
Who it suits
Swarm suits teams running Docker workloads across multiple daemons in a self-hosted production environment. Operators need to account for its network requirements and configure overlay encryption if application traffic must be encrypted.
Verdict
Docker Swarm provides cluster management, service discovery, networking, and update controls without separate orchestration software. Its network encryption defaults, node limits, and operating requirements deserve attention before deployment.
Plans and prices
From Docker Swarm's own pricing page, checked 7 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Docker Personal | Free | 1 user · 1 private Docker Hub repo · 100 Docker Hub pulls/hr |
| Docker Swarm mode | Free | Built into Docker Engine · no additional orchestration software needed |
| Docker Pro | $9 a month | 1 user · 2 Docker Scout-enabled repos · unlimited Docker Hub pull rate · per user/month, billed yearly; $11 per user/month on monthly plan |
| Docker Team | $15 a month | Up to 100 users · unlimited private Docker Hub repos · 10 organization access tokens · per user/month, billed yearly; $16 per user/month on monthly plan |
| Docker Business | $24 a month | No user cap · unlimited private Docker Hub repos · 100 organization access tokens · per user/month, billed yearly |
The facts
Each one read from Docker Swarm's own pages, with the date it was checked.
Where it runs
- Application traffic
- Application data over overlay networks is not encrypted by default; enabling overlay encryption with IPsec can impose a non-negligible performance penalty.checked 7 Oct 2026
What it does
- Built in
- Current Docker versions include Swarm mode in Docker Engine, managed through the Docker CLI, without additional orchestration software.checked 7 Oct 2026
- Manager limit
- Docker recommends a maximum of seven manager nodes and notes that adding managers can reduce performance.checked 7 Oct 2026
- Networking
- Swarm supports overlay networks for communication among Docker daemons in the cluster and includes an ingress network for load balancing.checked 7 Oct 2026
- Network requirements
- Swarm nodes need TCP/UDP port 7946 for network discovery and UDP port 4789 by default for overlay data traffic.checked 7 Oct 2026
- Overlay limit
- Docker recommends /24 overlay network blocks, which limit a network to 256 IP addresses.checked 7 Oct 2026
- Purpose
- Swarm mode is an advanced feature for managing a cluster of Docker daemons and is intended for production runtime environments.checked 7 Oct 2026
- Scheduling
- Swarm supports replicated services and global services that run one task on every node.checked 7 Oct 2026
- Security
- Swarm nodes use mutual TLS to authenticate and encrypt communications, with a minimum TLS version of 1.2.checked 7 Oct 2026
- Service discovery
- Swarm assigns services DNS names and supports virtual IP load balancing or DNS round-robin discovery.checked 7 Oct 2026
- Service model
- Services use a declarative model in which managers work to maintain the desired state, including replica count, networks, storage resources, and exposed ports.checked 7 Oct 2026
- Updates
- Swarm can roll out service updates incrementally and roll back to a previous service version if something goes wrong.checked 7 Oct 2026
Alternatives to Docker Swarm
- 1

KubeSphere
Free planOpen sourceWebAPILinuxSelf-hosted8.1From $65 a month - 2

Google Kubernetes Engine
Free planWebAPILinuxSelf-hosted7.6Free plan - 3

HashiCorp Nomad
Free planWebAPILinuxmacOS7.3Free plan - 4

Oracle Cloud Infrastructure Container Registry
Free planWebAPILinux7.0Free plan - 5
MicroK8s
Free planLinuxmacOSSelf-hostedWindows6.9From $25 a year - 6

Kubermatic Kubernetes Platform
Free planWebAPILinuxmacOS6.8Free plan
