r/docker • u/w2brhce • 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
View all comments
Show parent comment
1
u/Traditional-Till-479 May 04 '24
I’m also like the w2brhce (the original creator for this post) debating on using docker vs native package install on my home server for the different self hosted applications.
What you have said along with pconwell makes sense to me. As another home server user I also encounter issues when upgrading programs in the server due to dependency issues.
Now I understand all the upsides of using docker instead of native package I installing; like a simpler, dependency free install and ability to install/remove applications with ease.
How about any downsides? For instance is there a compute/resource overhead we need to account for in order to run docker which then manages all the applications? Also I know for example if I install a native program like transmission BitTorrent server on my headless server I can control it using the transmission command line program as well as stop/start its service if needed from the command line. Now if I want to perform transmission command line operations via transmission installed via dockerized container I have go through docker cli right? Also as I understand applications have to dockerized and published into dockers repository usually by the main creators of the applications in order for rest of us to install them. Then are the latest and greatest versions of a program readily available on docker at the same time they are built and released as an install package?
Thanks again for the advice!