• JLD@lemmy.zip
    link
    fedilink
    English
    arrow-up
    33
    ·
    7 days ago

    At first, I thought this was a joke, but I see from the official blog post it’s not. Personally, I’ve switched to Podman a while back, and I can’t do without my Quadlets anymore.

      • lemmyvore@feddit.nl
        link
        fedilink
        English
        arrow-up
        7
        ·
        7 days ago

        TLDR: Quadlets are systemd units adapted to orchestrate containers.

        Once upon a time Podman wanted to be a FOSS reimplementation of Docker, complete with compose, but it didn’t want to have the same approach with a rootful daemon so it focused on running containers “manually” via podman command.

        But you need orchestration in order to autostart containers, restart them when they die etc. so it landed on systemd which already does orchestration among other things.

        Quadlets aren’t quite the same as compose because they were designed for a very different system and with different goals in mind. Also the rootless approach doesn’t necessarily work with every docker image. If you’re considering a migration it’s going to be a bit of a chore and you’ll have to labor extensively to get some apps to work.

        The old compose compatibility layer of podman is still around but it’s not 100% compatible anymore and you have to account for the rootless approach and still do some orchestration.

        It’s not necessarily “better” or “worse” than docker, just different, so prepare to learn a different way of doing things.

      • JLD@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 days ago

        They are deployed as systemd units and integrate seamlessly into the system. This, to me, is a lot cleaner than depending on a separate compose file. Podman supports three different formats, including regular compose files, quadlets (.container, .volume, .network, etc., which usually generate .service units), and also kubernetes/kustomize YAML manifests. On top of that, it can run as rootful or rootless. To me, it’s a no-brainer Docker replacement at this point.