I’m looking to migrate all of my containers to rootless podman but need some advice.
All of my services are currently running docker compose. I’ve played arount with podman but I am unsure of best practice: I have the option of installing podman-docker, podman-compose, or docker-compose connected to a podman socket. What’s the recommended way here?
I also can’t seem to find any information on setting up a systemd unit for rootless podman compose. How are you all auto starting podman (compose) files?
Podman-compose is a python script that simply converts a compose file to ‘podman run’. It worked fine enough for me, but the caveat being it doesn’t have full feature parity and the errors aren’t as good. The only thing I couldnt get working was connecting my GPU to jellyfin.
Turning conainers into systemd units is easy: ‘podman generate systems --new --name $container_name › $HOME/.config/systems/user/$container_name.service’ ‘systemctl --user enable --now $container_name’
https://docs.podman.io/en/latest/markdown/podman-generate-systemd.1.html
I’ve no experience with Podman but genuinely interested why would you use this instead of Docker/Kubernetes?
The simplicity of docker with much better security. Honestly the main appeal of having my homelab is to play with technologies and learn new things. The couple times I’ve skimmed the docs for Kubernetes it seemed over complicated for a personal homelab.
I gave podman a try a few months ago and went with systemd unit files instead of compose files, since it felt like the most native approach.