Podman v6.0.0

(blog.podman.io)

107 points | by soheilpro 4 hours ago

5 comments

  • roger_ 23 minutes ago
    Anyone have experience switching from Docker to Podman?

    I have a lot of compose files in my homelab/automation setup and those are what I’m most concerned about.

    • reidrac 0 minutes ago
      The biggest differences for me were related to non trivial network setups. Is just that you find docs and how tos for docker, but less so for podman.

      Other than that, I haven't found major differences.

    • thedanbob 2 minutes ago
      I switched from a giant docker compose file to podman quadlets on my homelab. IIRC it look me a little while to translate the first couple of services because there wasn't (at the time, at least) as much documentation/examples of quadlets as compose files, but after that it was a piece of cake. I highly recommend them.

      The only issue I have is validation, there isn't a convenient built-in command to validate quadlet files and systemd doesn't warn you if any fail to generate. You either have to do a --dry-run first (and probably alias the full command to something reasonable) or check the journal for errors.

    • rdbl27 3 minutes ago
      Yes. 99% of things just worked, zero modifications.

      The few cases where something was not directly translatable was <10 minutes with a coding agent to make some minor config changes, and then it just worked.

    • sureglymop 3 minutes ago
      You don't have to fully switch. I use podman in socket mode with the docker cli as a frontend.
    • cheema33 14 minutes ago
      I have switched on production and QA servers. I used AI tools to help with the migration. Easy peasy. On the desktop, I am still using docker. Old habits die hard. Eventually I plan to switch on the desktop as well.
    • kordlessagain 15 minutes ago
      I've been coding solutions against each. I'm currently having issues extracting progress from the current Podman on my TUI build pane, but now switching versions to see if it addresses it and continue working the issue.

      I have zero issues with it doing the builds I need. Works same same as Docker from what I can tell.

      I took Docker completely off my Macbook which has a tiny drive in it. Hardly ever use it, except for testing. Podman is super lightweight and using a project I'm developing, launches containers with dev agents in it, just the same as Windows running Docker.

    • lovelettr 12 minutes ago
      I switched a few years back and use Quadlets instead of compose now. Converting compose files to Quadlets is pretty mechanical once you get the hang of it.

      Highly recommend Podman overall; there are some quirky edge cases, but for the most part it’s a smooth replacement for Docker.

      If you don’t want to give up compose entirely, podman-compose exists. I just prefer Quadlets so I haven’t used it much myself.

    • arjie 11 minutes ago
      I set up my stuff as all Podman when I moved from a VPS to my home server and it's been pretty simple. I didn't use any of the compose functionality because I have a single DBMS of each type and just have multiple DBs on them etc. and I use podman through the systemd quadlet system. Honestly, it's been pretty flawless.
    • therealmarv 16 minutes ago
      Would be great to know if I can uninstall docker on Mac and just install https://github.com/containers/podman/releases and be good to go with my docker compose files ?!

      I have the feeling the docker company is communicating a lot with Apple because virtualisation got better and better over the years. I wonder if podman would be a speed downgrade here?

    • ekuck 14 minutes ago
      I switched everything over to rootless podman a year or two back. Some containers ended up with permissions issues when trying to read their old data - caused by being run with a different UID. This was really the only problem I ran into, but I would have had the same issue switching from rootful docker to rootless docker.

      Absolutely zero regrets, would never go back.

    • alanwreath 14 minutes ago
      Good for the most part, I appreciate them being pretty much a drop in replacement (mostly so tools that reference docker can just work usually).

      Regardless it works enough for me to run local Kubernetes and Tilt

    • goalieca 18 minutes ago
      Not a power user but compatibility has been excellent.
    • CodingJeebus 5 minutes ago
      What I have observed through my limited experience, primarily testing docker-based development env setups in podman, is that it's usually not a straight swap.
    • cyberax 5 minutes ago
      I switched from Docker to rootless Podman for our build server. Completely positive experience so far. Our builds went _down_ from 1 minute to 2 seconds.

      I'm also using podman-compose that is small and delightful (I had to fix a few bugs there). It's just one Python file that you can copy.

    • alanwreath 11 minutes ago
      I mean I should probably also say it’s good enough that Bazzite ships with it enabled (not something I’d have expected)
  • SwellJoe 25 minutes ago
    No idea why Docker is still so much more popular than Podman. Podman is obviously the better implementation.

    The new network stuff is a welcome improvement.

    • khurs 1 minute ago
      No reason to change?

      Doesn't lack anything, and performance has been fine so not needed to try Podman.

      What does it offer that is more, to make someone change?

    • q8zd3 21 minutes ago
      it has a stronger brand, probably because it was created first. I still hear the term "docker container" (sometimes).
    • alanwreath 13 minutes ago
      I mean for local dev I like that I can just press one button and have Kubernetes available. Podman Desktop had something approaching that simplicity but I have found Docker Desktop more stable in my limited experience with it.
  • mjburgess 49 minutes ago
    Sanctuary! mercy from grey font
    • cheema33 16 minutes ago
      Agreed. My first thought after that page loaded was, "why is this page harder to read?"
    • zdragnar 24 minutes ago
      You've come to the wrong website to complain about contrast issues, my friend.
  • jimmar 8 minutes ago
    Quadlets and rootless containers are two major reasons I'll be switching from Docker to Podman.
    • kachnuv_ocasek 6 minutes ago
      Rootless was the reason I switched to Podman years ago. It's just so smooth and I don't have to worry about obscure permissions and services errors anymore.
  • alessandroberna 37 minutes ago
    I love the naming of their new networking tools. Now there's pesto to go along with pasta