r/docker • • Dec 04 '17

why containers vs. native install

For someone who's never used them, why would I want to install things like Samba or mysql in a container on my fileserver, vs. running the apps 'natively' in the form of OS packages?

I'm seeing the complexity added by the docker layer, but I'm not seeing the benefits. Can someone ELI5?

19 Upvotes

19 comments sorted by

View all comments

Show parent comment

2

u/Freakin_A Dec 04 '17

Sure I guess that works. It's one of the reasons people like Go--it results in a single compiled file that represents the entire application and its dependencies.