this post was submitted on 28 Jun 2024
767 points (94.6% liked)

Programmer Humor

19213 readers
455 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
[–] CaptainHowdy@lemm.ee 13 points 2 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.

[–] skuzz@discuss.tchncs.de 7 points 2 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.

[–] dan@upvote.au 7 points 2 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.

[–] skuzz@discuss.tchncs.de 2 points 2 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.

[–] sum_yung_gai@lemm.ee 5 points 2 months ago (1 children)

Why is docker bad now and what makes pdoman better?

[–] MonkderDritte@feddit.de 3 points 2 months ago (1 children)
[–] sum_yung_gai@lemm.ee 2 points 2 months ago (1 children)

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

[–] MonkderDritte@feddit.de 2 points 2 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.