3 ms·
> I still really struggle to understand what the practical benefits to this kind of containerization actually are ... Here's why I started using it years ago.
by e40 7y ago
> I still really struggle to understand what the practical benefits to this kind of containerization actually are ...
Here's why I started using it years ago. I had a CentOS 6 machine that I wanted to run Plex, Subsonic and Transmission on, but I couldn't, because they had different (EDIT: and conflicting) requirements for various packages. I might have been able to hack it, but it was looking really tricky.
Enter Docker. I have all three running in separate Docker containers. And it just works. I've never hand a single problem. I made a yum exception for the Docker packages I use, so I can control when they are updated, which is about once a year.
The alternative was to build a new box that met all the requirements, but that seemed like a big waste of resources (electricity and my money).
- chrisan 7y agoIf you didn't have that requirement of conflicting packages, would you still have used docker? Isn't once a year update a large security risk?
- Spivak 7y agoOne would hope they're still taking security updates but on CentOS I kind of doubt they bothered to implement that level of granularity.
- e40 7y agoI probably wouldn't have, had there been no package conflicts. As for security risk on the yearly update: all the services are only locally accessible. None are exposed to anyone but me. I do apply CentOS updates daily, though. My only risk in an attacker on my LAN, and I think I have that locked down well.