News for hackers. Stuff that matters.
Re:Programming Culture in the Late Aughts by maccard on Thursday June 08, 2023 @05:10AM (#36239130)
I disagree. There are so many simpler options available. DO app platform is point and click deploy from GitHub for $5/month.

Knowing docker these days is a huge boon - it immediately removes the "works on my machine" problem, and honestly the amount of docker knowledge required to deploy a basic even crud app is about 10 lines that can be copy and pasted from stack overflow by searching for "Dockerfile for X"

Re:Programming Culture in the Late Aughts by collyw on Thursday June 08, 2023 @12:06PM (#36244188)
It solves that problem but adds it's own. I guess its overall a positive.
Re:Programming Culture in the Late Aughts by kqr on Thursday June 08, 2023 @12:09PM (#36244246)
Just one anecdote, but I've had a script run flawlessly on its own in multiple environments, but it's docker image exhibited the "works on my machine" problem for some reason!

(Never bothered figuring out why since the script ran fine on its own and was replaced with a proper application shortly thereafter.)

Re:Programming Culture in the Late Aughts by arp242 on Friday June 09, 2023 @12:34AM (#36253200)
The problem isn't so much that it's hard to get started with Docker, it's debugging stuff when it goes wrong is so hard. There's this 80M dockerd binary that needs to run as root and last time I checked it's over a million lines of code – lots of potential for failure there, ranging from "Docker doesn't do the right thing and I can't figure out so let's just nuke the entire server and start up a new one" to "Oh dockerd magical firewall rules made my firewall ineffective".

Is that a good tradeoff? I don't know; it seems to me you can get 95% of what Docker gives you with 5% of the complexity. Luckily the ecosystem has started to realize that and better tools have started to materialize.

Re:Programming Culture in the Late Aughts by spiffytech on Friday June 09, 2023 @06:20AM (#36255736)
Which alternatives are you thinking of?
Re:Programming Culture in the Late Aughts by arp242 on Friday June 09, 2023 @07:05AM (#36256070)
I've used runc, which worked out well for me, but it's not a "drop-in replacement" for everything Docker does; it's essentially just an OCI runtime (originally extracted from Docker I believe), but 9 times out of 10 that's what I want.

There are other tools too, such as containerd (and more I don't recall the name of first-hand), but I don't have first-hand experience with them.