Docker Swarm vs Kubernetes for small teams
Docker Swarm or Kubernetes for a small team? What each costs to run, where Swarm is enough, when Kubernetes pays off, and why one server may still be right.
At some point a self-hosted setup outgrows one server, or someone asks what happens when that server dies. The two names that come up are Docker Swarm and Kubernetes. Both schedule containers across several machines and restart them elsewhere when a machine fails. They differ enormously in how much they ask of the people running them.
First question: do you need more than one server?
Often the honest answer is no. A single modern VPS runs dozens of typical self-hosted apps. Most outages small teams suffer are not hardware failures but bad updates, full disks and expired certificates — none of which a cluster fixes. A good backup that you have actually restored, plus a second server you can restore onto within an hour, covers a lot of what people want from “high availability”.
Clusters earn their keep when one machine cannot hold the load, when minutes of downtime genuinely cost money, or when you need to patch and reboot servers without taking apps down.
Docker Swarm in brief
Swarm mode is built into Docker Engine. Turning a machine into a manager is one command, joining others is one command each, and you deploy with a compose-style file:
docker swarm init --advertise-addr <manager-ip>
# on each other node, the join command printed above
docker stack deploy -c compose.yaml myapp
docker service ls- Strengths: tiny learning curve if you know Compose, little to install, an overlay network and service discovery built in, rolling updates, secrets.
- Weaknesses: a much smaller ecosystem than Kubernetes, no built-in autoscaling, and persistent storage across nodes is up to you (a volume on node A is not on node B).
- Future: Swarm’s momentum slowed years ago, but Mirantis announced on 1 July 2025 that it will support Swarm through at least 2030 as part of its MKE 3 product, and Swarm mode remains part of Docker Engine as of 10 November 2026.
Kubernetes in brief
Kubernetes is the industry standard for running containers at scale. It models everything as resources — Deployments, Services, Ingresses, PersistentVolumeClaims — and keeps reconciling the cluster toward what you declared.
- Strengths: a huge ecosystem (Helm charts, operators, monitoring), autoscaling, mature storage integrations, every cloud offers a managed version, and the skills transfer between employers.
- Weaknesses: many moving parts, a steep learning curve, YAML in volume, and upgrades that need care. Somebody on the team has to own it.
- Lighter options: k3s packages Kubernetes as a single binary suited to small servers and edge devices; managed services (EKS, GKE, AKS and others) take the control plane off your hands for a fee.
Side by side
- Setup: Swarm, minutes with Docker already installed. Kubernetes, an hour with k3s or a managed service; much longer to understand properly.
- Config: Swarm uses compose files you may already have. Kubernetes uses its own manifests or Helm charts.
- Storage: both need a plan for data that must follow an app between nodes; Kubernetes has far more ready-made drivers.
- Who should run it: Swarm suits a team without a dedicated ops person. Kubernetes suits a team that has one, or buys it as a managed service.
Storage is the hard part
Scheduling stateless containers across machines is the easy half of any cluster. The hard half is data. A database container that moves from node A to node B after a failure finds an empty directory on B unless its storage moved too. There are three common answers, and each has a cost:
- Pin stateful services to one node (a placement constraint in Swarm, a node selector in Kubernetes). Simple, but that node is again a single point of failure for the data.
- Shared storage such as NFS. Works for files; many databases dislike it and some refuse to run on it.
- Replicated block storage (Longhorn, Rook with Ceph, or your cloud’s volumes through a CSI driver). The proper answer, and a system in its own right that needs care.
Many small teams sidestep the problem: they run stateless apps on the cluster and keep the database on one well-backed-up server, or use a managed database. Decide this before you build the cluster, not after the first failover.
A sensible path for a small team
- Start on one server. Get backups, restores and updates boring and reliable.
- Add a standby you can restore onto quickly, and practise it.
- Move to Swarm when you need several servers and want to stay close to Compose.
- Move to Kubernetes when you need its ecosystem or autoscaling, or already run it elsewhere.
Where Keenrig stands
Keenrig today runs your apps on one server with plain Docker, and that is what the free Starter and the Standard plan cover. The same platform is designed to grow without changing how you install and manage apps: the Pro plan targets Docker Swarm across several of your own servers, with apps moving to another server if one fails, and the Enterprise plan targets Kubernetes — your own cluster (EKS, GKE, k3s) or k3s built from your nodes.
To be precise about status as of 10 November 2026: joining servers into a cluster is still being finished, so Pro is open for pre-orders rather than on sale, and Enterprise onboarding is quoted per cluster after a conversation. If you need a multi-server cluster this month, run Swarm or Kubernetes yourself.
curl -fsSL https://get.keenrig.com | sudo shLimits of this comparison
- We have not benchmarked Swarm against Kubernetes, and for small teams raw performance rarely decides the question.
- Neither orchestrator replaces backups. A cluster that faithfully replicates a corrupted database has two corrupted databases.