• @Yoddel_Hickory@lemmy.ca
    link
    fedilink
    English
    132 years ago

    Podman, rootless containers work well, and there is no central process running everything. I like that starting containers on boot is integrated with systemd.

    • qaz
      link
      fedilink
      English
      2
      edit-2
      2 years ago

      How do you automatically start podman containers? I currently just manually add systemd entries but that’s a lot more cumbersome than Docker which doesn’t require you to do anything at all.

      • @Yoddel_Hickory@lemmy.ca
        link
        fedilink
        English
        32 years ago

        I use Quadlet, which is now merged in podman. The only issue I had with it is running system systemd services as other (rootless) users, I can’t get it to create cid files that the users can access. In those cases only, I have to modify the generated services files, which defeats the purpose.

      • @witten@lemmy.world
        link
        fedilink
        English
        22 years ago

        Since I use Docker Compose with Podman, I just make a single systemd service to run Docker Compose on boot, thereby starting all my containers at once.

        • qaz
          link
          fedilink
          English
          12 years ago

          That’s an interesting way to do it. Do you have everything in 1 compose file?

          • @witten@lemmy.world
            link
            fedilink
            English
            22 years ago

            I have one Compose file per stack, which is an application and all of its containers, databases, etc. Pretty much the same way I organized things with just Docker.

      • @MartianSands@sh.itjust.works
        link
        fedilink
        English
        62 years ago

        Podman supports docker compose just fine. You have to run it as a service, so that it can expose a socket like docker does, but it supports doing exactly that

          • @worldofgeese@lemmy.world
            link
            fedilink
            English
            2
            edit-2
            2 years ago

            Check my comment history for an example of a simple bind mount compose.yaml I use for developing a small Python project. It’s exactly the same as Docker Compose (since Podman Compose follows the Compose spec) but if you’re just getting started, it might be a good skeleton to build on.

            • @Discover5164@lemm.ee
              link
              fedilink
              English
              22 years ago

              i have all my stacks on docker compose. if it follows the same specks, i would only need to convert volumes and networks

  • @ikidd@lemmy.world
    link
    fedilink
    English
    42 years ago

    If you’re running it for your own network, just use Docker. The tooling is way, way better for docker, especially for a beginner.

  • @nonprofitparrot@lemmy.world
    link
    fedilink
    English
    32 years ago

    I do a lot of docker/k8s at work, and I use podman at home. Podman is very cool in theory but still rough around the edges. I recommend docker if you just want to get started, Podman is a little extra work.

  • @Molecular0079@lemmy.world
    link
    fedilink
    English
    22 years ago

    I started with Docker and then migrated to Podman for the integrated Cockpit dashboard support. All my docker-compose files work transparently on top of rootful Podman so the migration was relatively easy. Things get finicky when you try to go rootless though.

    I say try both. Rootful podman is gonna be closest to the Docker experience.

  • @hottari@lemmy.ml
    link
    fedilink
    English
    22 years ago

    Docker because it just works. Podman has another 5 years (hopefully) to get this part right IMO.

  • @iluminae@lemmy.world
    link
    fedilink
    English
    22 years ago

    A year or two ago (whenever docker changed the business license of docker for Mac) I changed to podman and aliased docker=podman. It behaves the same, you would just about never know rootful podman vs docker.

    Rootless podman is super cool and a much better security ideal - but comparing more apples to apples would be podman running as root vs docker.

  • Cyclohexane
    link
    fedilink
    English
    22 years ago

    I use podman, even when I started out. But I am a tinkerer. I think for the average beginner, docker will be easier as so much out there assumes you are using Docker only, and hard codes it. Unless you wanna deal with that, use Docker.