this post was submitted on 28 Jun 2024
782 points (94.7% liked)

Programmer Humor

19453 readers
75 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

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 4 months ago (2 children)

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.

[–] [email protected] 7 points 4 months ago (1 children)

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.

[–] [email protected] 7 points 4 months ago (1 children)

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.

[–] [email protected] 2 points 4 months ago

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.

[–] [email protected] 5 points 4 months ago (1 children)

Why is docker bad now and what makes pdoman better?

[–] [email protected] 3 points 4 months ago (1 children)
[–] [email protected] 2 points 4 months ago (1 children)

I see but I do wonder if docker has so many more cves partly because it has way more users.

[–] [email protected] 2 points 4 months ago

It seems that Podman is more lightweight. Less code = less errors. And there are some architectural differences. But i'm only googling stuff.