r/AskComputerScience • u/[deleted] • 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
1
u/HasFiveVowels Aug 15 '19
By "how many deployments", I meant concurrent processes rather than code pushes. Unless your dependencies are tied strongly to the OS and frequently changing, there's no real need for that kind of encapsulation. It's naturally going to depend on the project but in my experience, an issue with dependency management is something that should be sorted out on the OS level, not a VM level.
All this said, docker isn't worthless and there are situations where it would be beneficial (e.g. in your situation where access to certain things is restricted due to security concerns). But I've seen it sold as this generalized solution to a general problem and, it seems to me, that unless you have a specific reason for using docker, you shouldn't be using it.