this post was submitted on 21 Oct 2024
36 points (87.5% liked)

Programmer Humor

19386 readers
339 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
top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 1 day ago

If you think docker/container are for security, you're doing it wrong.

[–] [email protected] 13 points 1 day ago

Eight years old and still hits home for the most part. Nowadays though, what I get is mostly "we're moving to Azure" from clients that have no business in the cloud. Some environments are just not possible to move to a cloud environment without a redesign from scratch.

[–] [email protected] 9 points 1 day ago (4 children)

Not a dev-ops guys, just how useful /useless is docker?

[–] [email protected] 23 points 1 day ago (1 children)

Honestly? Pretty fucking awesome if you get it configured correctly. I don't think it's super useful for production (I prefer chef/vagrant) but for dev boxes it's incredible at producing consistent environments even on different OSes and architectures.

Anything that makes it less painful for a dev to destroy and rebuild an environment that's corrupt or even just a bit spooky pays for itself almost immediately.

[–] [email protected] 5 points 1 day ago

I don't think it's super useful for production (I prefer chef/vagrant)

Yeah!

Docker and OCI get abused a lot to thoughtlessly ship a copy of the developer's laptop into production.

Life is so much simpler after taking the time to build thoughtful correct recipes in an orchestration tool.

Anything that makes it less painful for a dev to destroy and rebuild an environment that's corrupt or even just a bit spooky pays for itself almost immediately.

Exactly. The learning curve is mean, but it's worth it quickly as soon as the first mystery bug dies in a rebuild fire.

[–] [email protected] 10 points 1 day ago (1 children)

In my experience, very, but it's also not magic. Being able to package an application with its environment and ship it to any machine that can run Docker is great but it doesn't solve the fact that modern deployment architecture can become extremely complicated, and Docker adds another component that needs configuration and debugging to an already complicated stack.

[–] [email protected] 1 points 1 day ago

And a new set of dependency problems depending on the base image. And then fighting layers both to optimize size, and with some image hubs, "why won't it upload that one file change? It's a different file now! The hashes can't possibly be the same!" And having to find hackey ways to slap it so the correct files are in the correct places.

Then manipulating multi-arch manifests to work reliably for other devs in a cross-processor environment so they don't have to know how the sausage works...

[–] [email protected] 4 points 1 day ago

It's a way to provide standard configuration for your programs without one configuration interfering with another.

Honestly, almost all alternatives work better. But docker is the one you can run on any system without large changes.

[–] [email protected] 3 points 1 day ago

I think they’re really useful, there are alternatives that I think have feature parity at this point but the concepts of containerization are the same

[–] [email protected] 2 points 1 day ago

I'm feeling attacked.

[–] [email protected] 3 points 1 day ago

Based and vagrant pilled.