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.

  • troed@fedia.io
    link
    fedilink
    arrow-up
    11
    ·
    15 days ago

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

    • Botzo@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      15 days ago

      Nothing really critical.

      Differences from where I’m at

      • docker doesn’t have native systemd integration (“quadlets”)
      • docker needs a daemon running
      • podman has pods (like kubernetes) which are great for isolation of complex services
      • you can run podman containers with kubernetes yaml
      • Botzo@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        15 days ago

        Oh, and I’ve found SELinux easier to handle with podman, but that might be just more experience now.

    • balsoft@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      15 days ago

      Apart from the other comment: rootless podman is easier to set up (there’s basically no set up needed).

  • WormFood@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    14 days ago

    I’m confused at all these comments saying podman is hard to use, I used it a bunch last year and found it a drop in replacement for docker (though I didn’t set it up).

  • zr0@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    7
    ·
    15 days ago

    podman missed the chance to grow, by making it very difficult to configure and use it. The way quadlets work is just such a struggle, if you have been using compose for years. And no, I don’t want to use podman compose, as I can just use rootless docker instead.

    • entwine@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      15 days ago

      The way quadlets work is just such a struggle, if you have been using compose for years

      Learning new things is hard, sure, but quadlets are not that complex. Take a few hours to sit down and read through the manual or a tutorial, and you’ll find they’re easier to maintain, write, and deploy.

      Hot take: Docker compose is poorly designed, and very little thought went into the deployment side. It only ‘won’ because it was there first, and bad habits are tough to break.

      • zr0@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        15 days ago

        Fully agree with the compose part, as it has some weird shit in it, too. I gave podman with quadlets many chances and after a while, I always switched back to docker for some reason

  • trevor (he/they)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    6
    ·
    14 days 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.

  • Railcar8095@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    15 days ago

    I am struggling to access a smb server with podman. I have it mounted on the host using fstab, but many podman containers refuse to access with permission issues, even setting uid:gid to 1000:1000 and giving ownership with unshare.

    Any hint? I know there’s not much detail, but I think I’m missing something fundamental

      • Railcar8095@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        15 days ago

        Tried that :(.

        Seems to be something about the smb share itself, because of I point to a folder on the drive it works, only fails when it’s a mounted samba share.

        I’ll need to make a post with ask the details, thanks in any case!