The confidence with which you make this factually incorrect statement is mind bending.
Comment on Selfhosted photo manager kind of like Jellyfin
Bookmeat@lemmy.world 9 months agoContainers are really only useful for scaling. I suppose there’s some benefit to isolation, but it’s not really that much better than just using correct permissions with SElinux.
OP is kinda right. Containers get overused unnecessarily.
SDK@midwest.social 9 months ago
Bookmeat@lemmy.world 9 months ago
Sure, let’s add another layer of complexity for the user to set up their network, storage, and other external resources and call it easier and simpler.
avidamoeba@lemmy.ca 9 months ago
What are you talking about… Containers make it way easier to setup and operate services, especially multicomponent services like Immich. I just tried Immich and it took me several minutes to get it running. If I wanted to give it permanent storage, I’d have to spend several more to make a directory then add a line in a file and restart it.
Nibodhika@lemmy.world 9 months ago
Because it’s easier to tell someone “use this docker image” than it is to tell them “go through all of these thousands of steps to get this service working”.
The main reason I use containers for my personal things is easy to setup and to migrate, those are huge points, and the added complexity is not that much, in fact I would argue it’s less complicated to figure out why a docker image is not running than figure out why a service stopped responding.
scrubbles@poptalk.scrubbles.tech 9 months ago
Agreed, sure scaling is one factor, but I don’t think this person has ever really dived into why containers are slick. Why you aren’t tracking down what dependency hell caused your app to crash. Conflicting cuda versions. Two apps using the same port. Trying to decipher a language you’ve never used before
Whenever I hear “containers don’t make sense” I read it as “I don’t understand containers”. There are some real flaws to them, but no self respecting ops engineer would ever say “containers have no value beyond scaling”
Atemu@lemmy.ml 9 months ago
This is a false dichotomy. Just because containers make it easy to ship software, doesn’t mean other means can’t be equally easy.
NixOS achieves a greater ease of deployment than docker-compose and the like without any containers involved for instance.
summerof69@lemm.ee 9 months ago
Sure, let’s add another layer of complexity for the user to set up their network, storage, and other external resources
That’s why you don’t use containers?
uzay@infosec.pub 9 months ago
Containers are useful for a lot more things than scaling. E.g. portability, ease of setup, dependency separation.
matcha_addict@lemy.lol 9 months ago
Containers have numerous other benefits. Checkout this blog post, it goes into some of them:
Bookmeat@lemmy.world 9 months ago
Thanks, this is a nice resource.
MigratingtoLemmy@lemmy.world 9 months ago
If you’re talking about k8s or similar, the initial time investment is heavy. After that though, it’s not very hard to get containers running with HA, better network segmentation and compatibility across run times. Containers are a lot more portable too, and allow granular levels of isolation and security.
Also, I personally think SELinux is somewhat hard to do well.
MangoPenguin@lemmy.blahaj.zone 9 months ago
They’re also useful because they’re easy to deploy, portable, and isolate things breaking from affecting the host or other containers.