I've been learning Kubernetes and Docker and I don't really quite understand the difference between them yet. Could you explain the difference between Kubernetes and Docker like I'm five?
Henry
I've been learning Kubernetes and Docker and I don't really quite understand the difference between them yet. Could you explain the difference between Kubernetes and Docker like I'm five?
Henry
For further actions, you may consider blocking this person and/or reporting abuse
jonasgroendahl -
Harith Javed Bakhrani -
chintanonweb -
Sushant Gaurav -
Top comments (4)
Docker by itself allows you to run an application in a container. Kubernetes is about orchestrating multiple containers across multiple hosts. It is similar to docker swarm.
Thanks, it makes sense now.
Docker is what you actually put your code in and run it in, Kubernetes is an optional controller service. It can automatically scale up your code by increasing the number of containers, it can ensure reliability by automatically spawning new containers in the case of one of them crashing, it can automatically spawn containers to conform to a policy that you define, such as number of running containers at any point in time, and it supports load balancing of HTTP across your containers to horizontally scale with ease.
These are just some of the cool thing Kubernetes does, but there's a lot more cool stuff if you're interested.
Thanks, that helped a lot!