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!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You won't find a better explanation than:
Docker: Explained to a 5 year old. πΆπ»
Dhravya γ» Mar 16 γ» 3 min read
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!