Let’s walk through what Podman is and how to use it as a Docker alternative on Linux. Expect a straightforward guide on installing Podman, running containers with it, and understanding the basics.

  • MalReynolds@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    Podman is great, but I only found it useful after learning quadlets and how to use podlet to generate quadlets (or quadlet pods) from dockerfiles. Now all my containers run with nice systemd commands in rootless podman containers instead of rooted dockerfiles (coz docker requires root unless you jump through hoops, when I started you couldn’t). Quadlet syntax is so much cleaner than docker too.

    • illusionist@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      You can also just use podman compose without learning a new system and just use published compose files directly.

      rootless docker isn’t too difficult (anymore). I wouldn’t change a running system but for a new system it’s always podman.

      • Victor@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        I wonder why someone down-voted you. I wish people would contribute to the discussion rather than down vote sometimes.

  • troed@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Serious question: I’ve been running rootless Docker since it became possible. In what way is it limited compared to using Podman?

  • nixus@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    I’ve been thinking about using this to replace my self-hosted docker repo. Does anyone know how well this works with hosting a docker repo?

  • potatoguy@lemmy.eco.br
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Podman is amazing, I’m using it when I can. Sometimes some distros ship an older version and can cause problems, but on a newer version I don’t see the reason to use docker ever again.

  • trevor (he/they)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    Docker works. Podman requires a ton of workarounds and wastes my time. I hope it gets good one day, but I’m not reverting to using systemd to manage containers.