r/AskComputerScience • • Aug 14 '19

Docker

What problem does docker (and containers) solve? And in which projects should it (or not) be used?

Maybe an Eli5 because I made a long research and didn't get an answer yet.

37 Upvotes

17 comments sorted by

View all comments

3

u/[deleted] Aug 14 '19 edited Aug 14 '19

Build an app, put it in a container once, run anywhere.

You can run it on your computer, your friend’s computer, Amazon’s cloud computer, your grandma’s computer as long as you share that container it will run anywhere without error(well that’s the idea).

Container is light and portable so it takes seconds to run and doesn’t need to lug around Operating system therefore much less storage needed.

If you want to know why containers, lookup monolith vs microservices.