Hi, I’ve been thinking for a few days whether I should learn Docker or Podman. I know that Podman is more FOSS and I like it more in theory, but maybe it’s better to start with docker, for which there is a lot more tutorials. On the other hand, maybe it’s better to straight up learn podman when I don’t know any of the two and not having to change habits later. What do you think? For context, I know how containers works in theory, I know some linux I think well, but I never actually used docker nor podman. In another words: If I want to eventually end up with Podman, is it easier to start with docker and then learn Podman, or start with Podman right away? Thanks in advance

  • Nibodhika@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    7 months ago

    Docker, there are more resources for it and once you know it Podman should be an easy migration if you want to. Also I’m not sure about your claim that Podman is more FOSS than docker, it’s “better” because it doesn’t run as root, but other than that I don’t know of any advantages to it that are not a derivation of “it runs as a regular user”.

    • TCB13@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 months ago

      Also I’m not sure about your claim that Podman is more FOSS than docker

      The issue with Docker isn’t the core product itself, is the ecosystem, it’s the DockerHub, Kubernetes etc.

      • Nibodhika@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        So if someone made a non-foss frontend for Podman that would somehow make Podman less FOSS? Or of they started working with Podman? You don’t need to use any of those other products, and it’s not correct to say that docker is less FOSS because people have written proprietary software that uses it.

        • TCB13@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 months ago

          I see your point and would usually think the same way / agree with it, however the issue with Docker is that you’re kind of forced and coerced into using those proprietary solutions around it. It also pushed people into a situation where it’s really hard to not depend on constant internet services to use it.

          • Nibodhika@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            7 months ago

            I’m not sure what you’re talking about. Most people self-hosting don’t need anything special, just a docker compose file. What proprietary software do you think is needed that’s not needed for Podman?

            • TCB13@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              7 months ago

              I’m not sure what you’re talking about. Most people self-hosting don’t need anything special, just a docker compose file

              Yes, and they proceed to pull their software from DockerHub (closed and sometimes decides to delete things) and most of them lack the basic Linux knowledge to do it in any other way. This is a real problem.

    • lemmyingly@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 months ago

      On the same machine I have Docker running as root and not as root. I choose which version, root-ful/root-less depending on what the container needs to do.

      I think the only advantage is that Podman runs as root-less out of the box, where with Docker you have to do a few extra steps once it’s installed.

    • Kalcifer@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      Podman is […] “better” because it doesn’t run as root, but other than that I don’t know of any advantages to it that are not a derivation of “it runs as a regular user”.

      Podman can run in rootless mode (with some caveats), but it is still able to run as root — it doesn’t only have the capability to run as a “regular user”.