DEV Community

Discussion on: Explain Docker Like I am Five

Collapse
 
pandademic profile image
Pandademic

You won't find a better explanation than:

or
@_nicovillanueva 's awesome response on this page

But here's my shot:

Docker is the attempt to fix 'it works on my machine'.

Literally.

meme
In a docker , you package up your entire environment and ship it.

Ya put your invention(a coffee machine) in a portable box(container) and to use it , you move it to the lounge(production). It's in it's box , so even if it explodes , it won't take out the next thing over(another part of the application). It also can't complain that it doesn't have what it needs , since everything is in the box.

If it does happen to explode , you can just replace it.

Hope it helps!