3 ms·
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 hug
by maccard 3y ago
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"
- collyw 3y agoIt solves that problem but adds it's own. I guess its overall a positive.
- kqr 3y agoJust 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.)
- arp242 3y agoThe 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.
- spiffytech 3y agoWhich alternatives are you thinking of?
- arp242 3y agoI'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.