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?

  • peasntanks@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    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