this post was submitted on 28 Jun 2024
779 points (94.7% liked)
Programmer Humor
19503 readers
652 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If you're doing it right, containers are less like VMs and more like cgroups. If orchestrated correctly it uses less system resources to run lots of services on a single system/node.
That said, I'm a devops/infrastructure/network professional and not a developer, so maybe I'm missing something from the dev experience.... But I love containers.
Docker does kinda suck now, though. Use podman or another interface instead if you can help it.
If done correctly, it also forces devs to write smaller more maintainable packages.
Big if though. I've seen many a terrible containerized monolithic app.
I've seen plenty of self-hosters complain when an app needs multiple containers, to the point where people make unofficial containers containing everything. I used to get downvoted a LOT on Reddit when I commented saying that separating individual systems/daemons into separate containers is the best practice with Docker.
Separate containers works like a dream when one app starts shitting the bed, gets auto-cycled, and everyone else just chills. Not surprised on the Reddit downvotes though. That place is so culty, especially now.
Why is docker bad now and what makes pdoman better?
Docker vs Podman CVE
I see but I do wonder if docker has so many more cves partly because it has way more users.
It seems that Podman is more lightweight. Less code = less errors. And there are some architectural differences. But i'm only googling stuff.