• avisf@feddit.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    Oddly enough: SELinux and file ownership for bind mounts were pretty hellish for me, even with :z. Granted, that’s definitely on me (skill issue) for having misconfigured SELinux policies, but docker got out of my way.

    Yes, SELinux can be painful to troubleshoot. I assume the bind mount path may not have been labeled containerfile_t

    That last one is a major thorn in my side because the podman CLI used to have a simple command to generate the systemd file for you, but they’re getting rid of it.

    That command was indeed helpful. They replaced it with quadlets. Systemd quadlets were not that hard to configure as I initially thought though. I migrated my 10 services with their dependent containers, volumes and networks within a few hours or so. The manpage is well written and shows examples https://docs.podman.io/en/v4.6.1/markdown/podman-systemd.unit.5.html

    Of course there’s nothing wrong with using docker if it fits better