Kubernetes vs Docker
Henry Boisdequin

Henry Boisdequin @hb

About: Programmer x Swimmer | React Dev, Machine Learning Enthusiast, Rustacean

Joined:
Oct 12, 2020

Kubernetes vs Docker

Publish Date: Dec 13 '20
12 4

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

Comments 4 total

  • Nested Software
    Nested SoftwareDec 13, 2020

    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.

  • adithyay328
    adithyay328Jan 24, 2021

    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.

Add comment