Podman v6.0.0

(blog.podman.io)

123 points | by soheilpro 5 hours ago ago

36 comments

  • SwellJoe 41 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.

    • pjmlp 2 minutes ago

      In many places it doesn't matter, because cheap companies don't want to even hear about Docker, so one gets to choose between podman, rancher, and if on Windows wslc is going to be a thing.

      Docker (the company) lost the plot in Linux containers, OCI got standardized, alternative runtimes came to be, and very few companies actually care to pay for Docker Desktop or the other services they sell.

    • spockz 6 minutes ago

      I think a stronger brand name. Also on macOS I found Docker Desktop to be more straightforward. Also lately it has been very error prone. Randomly failing at mounting files, or cleaning up networking rules, or suddenly becoming bog slow so I have to restart the VM.

      Podman on macOS feels miles less refined. Orbstack is a way better choice.

      I only use podman on Linux and there it is blazing fast. Even so, most features seem to be geared to be able to replace kubernetes in combination with systemd. And then something simple as docker compose support is flaky and it’s TUI/ux lags behind the original.

    • Y-bar 3 minutes ago

      For the company I work at, it’s primarily inertia. We started using containers with Docker. And then it just continued. We are two out of 20+ developers who would like to use Podman, but the rest is just ”eh, why bother?”. And I don’t fully fault them for holding that position, Docker generally works. Why switch to something which may or may not provide some benefit (most which will be indirect such as better security and setup)? I still continue to mention Podman regularly though …

    • tsfenwick 14 minutes ago

      I ran into an issue I couldn't figure out how to solve with podman. Some of the testcontainers my test suites would run wouldn't start in time causing tests to fail locally. Switching back to docker desktop solved the problem.

    • whalesalad 10 minutes ago

      Most people simply do not care. They just want a Dockerfile to become an image, and they want to run that image. I use both... rootless podman is nice. Although the promise of ez systemd integration is a bit... oversold. I use it with systemd however with my own hand-crafted unit files. Pretty good combo.

    • q8zd3 38 minutes ago

      it has a stronger brand, probably because it was created first. I still hear the term "docker container" (sometimes).

      • ffsm8 17 minutes ago

        > sometimes

        I've never interacted with anyone that knew them by another name. It's always (docker) container, where they may leave out the docker term, but if questioed what kind of container they mean theyll say it.

        And the times I've called them OCI container (or image when talking about those) nobody knew what I meant until I clarified to docker

    • fithisux 14 minutes ago

      I used rancher + podman on Windows. Mainly Rancher. The last 8 months I use exclusively Podman + Podman Desktop. Rancher has a slightly better desktop app and can manage podman.

    • alanwreath 30 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.

  • roger_ 39 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.

    • stryan 3 minutes ago

      Swapped a few years back (pre 5.0), haven't looked back. For compose files I'd look into using quadlets.

      For quick conversions you can use compose files directly with podman-compose or docker compose pointed at the podman socket[0].

      There's also podlet[1] which converts compose files into native quadlets. It does a pretty good job of taking care of everything for you and for a lot of simple to medium complexity compose files it will Just Work. There's talk of making it into a library of some kind so other tools can transparently convert compose files to quadlets so hopefully we'll see more stuff like it.

      Otherwise, writing your own Quadlet files isn't too hard if you're at all familiar with systemd unit files. Most `docker run` or `podman run` arguments have direct quadlet conversions so once you get used to the INI format versus yaml it's pretty easy to see a compose file and churn out the equivalent quadlet(s).

      [0] https://www.redhat.com/en/blog/podman-docker-compose

      [1] https://github.com/containers/podlet

    • thedanbob 18 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.

    • cheema33 31 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 32 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.

    • reidrac 17 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 anything that makes me consider using docker again.

    • lovelettr 28 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.

    • therealmarv 33 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?

    • arjie 28 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.

    • rdbl27 20 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.

    • ekuck 31 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 31 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

      • kraquepype 11 minutes ago

        I have a few containers at home and switched to podman, it was a pleasant surprise to see how how easy it was to drop it in as a replacement.

    • sureglymop 19 minutes ago

      You don't have to fully switch. I use podman in socket mode with the docker cli as a frontend.

      • overfeed 4 minutes ago

        > You don't have to fully switch

        Having a heterogenous fleet can be annoying though, some Podman-only config values[1] stop Docker dead in its tracks because it hates unknown fields.

        1. It was a while back, and I can't remember what specific field it was, but it had to do with namespacing and/or (sub)UID mapping.

    • goalieca 35 minutes ago

      Not a power user but compatibility has been excellent.

    • CodingJeebus 22 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 22 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 28 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)

  • mjburgess an hour ago

    Sanctuary! mercy from grey font

    • zdragnar 41 minutes ago

      You've come to the wrong website to complain about contrast issues, my friend.

    • cheema33 33 minutes ago

      Agreed. My first thought after that page loaded was, "why is this page harder to read?"

  • jimmar 25 minutes ago

    Quadlets and rootless containers are two major reasons I'll be switching from Docker to Podman.

    • kachnuv_ocasek 22 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 an hour ago

    I love the naming of their new networking tools. Now there's pesto to go along with pasta