Hacker News new | ask | show | jobs
by tehbeard 5 days ago
I keep meaning to look at podman, but the whole "rootless networking" seems like I'd run into edge cases with connectivity or performance issues.

Any articles/blogs you'd recommend that can either guide one through it, or assuage fears of it?

3 comments

I only ever had compatibility issues with podman because of SELinux, since it's rootless you sometimes have to add the :z suffix to volumes to make podman add proper selinux labels to them. Otherwise, I haven't run into any problems. You can also still run Podman in root mode if you want, in which case it will just act like Docker.

Podman also has the extra benefit of being able to manage everything through systemd units, which I love. It's like docker compose, but you write the config in systemd files and the containers run as normal systemd services integrated with the rest of the system.

https://docs.podman.io/en/latest/markdown/podman-systemd.uni...

I just started messing with containers - I've used LXC for years, but never gotten hands on Docker and Podman.

Podman/Quadlet's systemd ini file hell is what made me say "screw it, stick with Docker". One docker compose file that is easily readable and just works seems a lot nicer to deal with as a hobbyist than one file per subsystem per container to get podman running. Maybe I missed something? Maybe there's a wizard or GUI that makes it clearer what options are needed in podman? It just seemed really more complex to get going.

edit to say: Podman may be the future and I need to learn it, but from the perspective of migrating from Docker, which I kind of sort of understand now.

No idea, but I would agree with the other commenter. The only compatibility issues I've ever had are needing `:z` on volume mounts (which is pretty trivial), and one instance with some tool that used Vagrant that only worked with Docker and not Podman.

Overall it's ridiculous how good its drop-in compatibility is. You're very unlikely to have any real issues.

Ubiquiti seem to be using podman as their container platform for Unifi-OS. This is the way they want people to run all the Ubiquiti apps in the future it seems i.e. the network control panel etc. I've just installed it in a Linux VM (debian stable) and will see how it goes. Not a "guide" of course, but I'd assume the company has looked at the technology and is happy it works.