The Relationship Between Docker and Kubernetes

I’m learning container tech on the fly at work.

This is how I understand the relationship between Docker and Kubernetes. If I’m wrong, or learn more, I’ll write an update post.

Docker is the tech that makes ‘containers’ like a shipping container. It’s a popular one, but not the only one. The containers fit a specification so they’re interoperable.

Just like shipping containers, Docker containers are portable, small, and work anywhere. On a boat, on a truck, in a loading dock, on a crane.

You don’t need Kubernetes to run a container. You might be a truck with a single Docker container on your bed.

But if you’re a cargo ship, with a huge pile of containers, you need Kubernetes. It’s software for managing a constantly changing pile of containers.