Docker Swarm

Moved Out
hold
First Added:April 9, 2024 Updated: May 17, 2026

Docker Swarm is Docker Engine’s built-in cluster orchestrator (swarm mode): managers, workers, overlay networks, and rolling service updates. We rate it hold with Moved Out: do not start new multi-host estates on Swarm. Use Kubernetes (adopt) for orchestration. Existing Swarm clusters backed by Mirantis commercial support may run until a planned migration.

Blurb

Swarm mode lets you create and manage a cluster of Docker nodes, and deploy application services to the cluster.

Summary

History: Swarm was pitched as a simpler Kubernetes alternative, then repositioned as a path from Docker Compose to multiple machines. The ecosystem standardized on Kubernetes; Docker Inc focuses on Desktop, Hub, and BuildKit, not growing Swarm as a greenfield choice.

Who still maintains it: Mirantis (Docker Enterprise lineage) offers long-term Swarm support and security updates for paying customers (committed through 2030). That is not the same as Docker Inc driving new features in swarm mode for everyone.

Why hold (new adoption):

ConcernDetail
Talent & toolingHelm, GitOps, operators, and cloud control planes assume Kubernetes
Compose bridgedocker stack deploy from Compose is a dead-end for most teams (Docker Compose is local-only in this garden)
Stateful workloadsPersistent volumes, failover, and upgrades lag K8s patterns; gaps are unlikely to close for casual users
Strategic fitContainerization stays adopt; orchestration should be K8s, not Swarm

When existing use is OK: regulated estates with Mirantis contracts, small stable fleets, or brownfield until migration is funded. Plan exit to Kubernetes + ArgoCD (or your GitOps tool), not indefinite Swarm expansion.

Details

TopicNotes
vs KubernetesSwarm is simpler API surface; K8s wins on ecosystem, CRDs, and hiring
EngineSwarm mode ships in the open-source engine docs; production support is vendor-specific
MigrationMap Services to Deployments; replace overlay secrets with cluster secret stores
Local devDo not use Swarm on laptops; use Compose locally and K8s (kind/minikube) for cluster parity

Garden pattern: hold + Moved Out aligns with Docker Compose (no Compose-in-prod-on-Swarm) and Docker (hold vendor stack for new mandates). Net-new orchestration is Kubernetes.

References