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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Docker is great for a beginner, and even for an expert too. I've been self-hosting for 20 years and love Docker.
Back in "the old days", we'd use Linux-VServer to containerize stuff. It was a bit like LXC is today. You get a container that shares the same kernel, and have to install an OS inside it. The Docker approach of having an immutable container and all data stored in separate volumes was a game changer. It makes upgrades so much simpler since it can just throw away the container and build a new one.
The main alternative to Docker is Podman. Podman uses the same images/containers as Docker - technically they're "OCI containers" and both Docker and Podman implement the OCI spec.
Podman's architecture is different. The main difference with Podman is that it never runs as root, so it's better for security. With Docker, you can either run it as root or in rootless mode, but the default is running it as root.
Wow, I really appreciate you taking the time. I'm bookmarking this. Thanks, Dan!
As I look to upgrade or re-factor the server a bit, I'm gonna take a closer look at Podman. Not running as root by default sounds extremely sensible!
I tried that with a few of my Docker containers with results ranging from "Did it actually do it?" to "Nice job breaking it, hero." Lol
OMV has a really nice Docker GUI built in, but I'd much rather be ready to understand the open-for-all solution if I could. :)
Hope you have a great one!