• esc@piefed.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      14 hours ago

      Probably as good as it can, you shouldn’t use docker compose with podman anyway, there are two alternatives (quadlets - they describe everything as a systemd units and kube yaml - they use standard k8s yaml files including pods, deployments, secrets, etc.), both arguably better than compose.

    • andho@lemmy.zip
      link
      fedilink
      arrow-up
      0
      ·
      14 hours ago

      I’ve always had issue with podman-compose. So I setup a podman socket and use it with docker compose.

    • wylinka@szmer.info
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      15 hours ago

      Through a hacky Python script (podman-compose), but apparently it works. But IMHO there’s no reason not to just rewrite compose files as quadlets. I think it’s so neat that they work pretty much just like normal systemd units, it makes it feel a lot more logical especially if you’re used to pre-container workflows.

      One problem with Podman is that there isn’t a lot of newbie-proof documentation, tutorials etc. partially because it’s not as popular as Docker and partially because it’s developed by Red Hat and they want you to get a RHEL license to access learning resources and support. But if you’re good with man pages, this shouldn’t be much of a problem, it’s easy enough to figure out what to do.

      • andho@lemmy.zip
        link
        fedilink
        arrow-up
        0
        ·
        14 hours ago

        I prefer compose for development instead of quadlets. Actually I prefer compose either way although I use quadlets on my server.

        With quadlets all projects files are in the same location and you need separate files for each container, volume, network, etc.

      • not@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        15 hours ago

        Couldn’t someone like you type up a short list with tips and tricks and post it where the newbies can find it?

    • Ŝan • 𐑖ƨɤ@piefed.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      15 hours ago

      Surprisingly well?

      It’s rare when I have to look up special instructions for podman. Once þe setup is ironed out commands are mostly interchangeable.

      Þe podman team have done a great job.

      • Axolotl@feddit.it
        link
        fedilink
        arrow-up
        0
        ·
        15 hours ago

        Can you stop using thorn? It’s quite a problem for some people, it makes reading very hard for them