Key takeaways
- It is not an either-or choice: Docker packages the software, Kubernetes operates it at scale.
- Kubernetes stopped using Docker Engine as its runtime in 2022, yet Docker-built images still run on it unchanged.
- Many systems never need Kubernetes; a managed container service can be enough.
What do Docker and Kubernetes each do?
Docker packages and runs containers; Kubernetes orchestrates them across many machines.
A container packages an application with everything it needs to run, so it behaves the same on a laptop, a test server and production. Docker made containers practical: a Dockerfile describes the image, the docker build command produces it, and Docker Engine runs it. Docker Compose starts several related containers together on one machine, which suits local development.
Kubernetes, first released by Google in 2014 and now maintained under the Cloud Native Computing Foundation, solves the next problem. Once you have many containers across many machines, something has to decide where each one runs, replace it when it fails, add copies when load rises and route requests to healthy copies. That is orchestration.
How do they compare side by side?
They sit at different layers, so the comparison is about scope, not winners.
| Factor | Docker | Kubernetes |
|---|---|---|
| Main job | Build images and run containers | Schedule and operate containers across a cluster |
| Scope | One machine | Many machines, as one cluster |
| Scaling | Manual, or Compose on one host | Automatic, on load or on a schedule |
| Self-healing | Restart policies on one host | Replaces failed containers and moves them off failed nodes |
| Best fit | Packaging, local development, CI builds | Production systems with many services |
| Learning curve | Short | Long; managed services shorten it |
Does Kubernetes still use Docker?
Not as its runtime, but it still runs Docker-built images.
Kubernetes talks to container runtimes through the Container Runtime Interface. Docker Engine did not implement it directly, so Kubernetes kept an adapter called dockershim. The adapter was removed in Kubernetes 1.24 in 2022, and clusters now use runtimes such as containerd or CRI-O.
This changed how clusters run containers, not how you build them. Docker produces images in the Open Container Initiative format, and any compliant runtime runs them. Developers keep using Docker on their machines and in CI; the cluster runs the result.
When do you actually need Kubernetes?
When you run many services that must scale and recover on their own.
It fits when
- You run many services, each deployed on its own schedule
- Load changes enough that automatic scaling saves money or incidents
- You want the same platform across clouds or on-premises
- A platform team can own the cluster and its upgrades
Look elsewhere when
- You run one application or a handful of services
- Nobody can own cluster upgrades and security
- A managed container service already covers your needs
- The team is still learning containers
Simpler options exist between a single server and Kubernetes: AWS Elastic Container Service, Azure Container Apps and Google Cloud Run run containers without a cluster to manage. Managed Kubernetes, such as EKS, AKS or GKE, removes the control plane work but leaves upgrades, networking and security to you.
How do teams use them together?
Docker in development and CI, Kubernetes in staging and production.
- BuildA Dockerfile in the repository describes the image; CI builds it on every change and tags it with the commit.
- Scan and storeThe image is scanned for known vulnerabilities and pushed to a private registry.
- DescribeKubernetes manifests or Helm charts, kept in the same or a separate repository, say how many copies run and with what settings.
- DeployA pipeline or a GitOps tool applies the change to the cluster, which rolls it out and can roll it back.
How ValueCoders helps
How does ValueCoders help with containers?
We containerize applications and build or run the platform they deploy to, in your cloud accounts.
- Who
- Cloud and DevOps engineers through Team Extension, or a Delivery Pod
- Where
- Your cloud accounts and repositories; you own the cluster and pipelines
- Starts with
- A review of what you run today, then a platform recommendation
Kubernetes and Docker questions
01Can we use Kubernetes without Docker?
Yes. Kubernetes runs any image in the Open Container Initiative format, and images can be built with other tools such as Buildah or Podman. Most teams still use Docker to build because it is familiar and well supported.
02Is Docker Swarm an alternative to Kubernetes?
It is Docker’s own orchestrator and is simpler to run, but its ecosystem is far smaller. For new production platforms, most teams choose Kubernetes or a managed container service instead.
03Is Kubernetes expensive to run?
The software is free; the cost is the machines, the managed control plane where you use one, and the people who keep it secure and upgraded. Idle capacity is the usual waste, which autoscaling and right-sizing reduce.
04Do we need Kubernetes for microservices?
No. Microservices can run on a managed container service or on serverless platforms. Kubernetes becomes worth it as the number of services and the need for control grow.
Sources
- The Kubernetes Authors. Kubernetes overview. Accessed 9 Nov 2026.
- The Kubernetes Authors. Dockershim removal FAQ. Accessed 9 Nov 2026.
- The Kubernetes Authors. Container Runtime Interface. Accessed 9 Nov 2026.
- Docker. What is Docker?. Accessed 9 Nov 2026.
- Open Container Initiative. About the OCI specifications. Accessed 9 Nov 2026.

