from Hacker News

Podman Desktop: A Free OSS Alternative to Docker Desktop

by twelvenmonkeys on 11/9/22, 7:55 PM with 191 comments

  • by LooerCell on 11/9/22, 10:32 PM

    Recently I started using colima[0], a drop in replacement for Docker Desktop on Mac, and have seen an increase in performance and battery life. You can use all the normal docker and docker compose commands. It does not have a GUI but you can use the Docker extension on VS Code to have an overview of running containers.

    [0]https://github.com/abiosoft/colima

  • by magicpointer on 11/9/22, 9:33 PM

    There's also Rancher Desktop in the same space, which includes k3s as a local K8s solution.

    For personal use I found it great and lighter than Docker Desktop. At work, unfortunately all options but Docker Desktop have issues with either 1) Our Cisco AnyConnect VPN, or 2) Our authenticated http proxy. Couldn't find anything else providing a container runtime + a local k8s on MacOS that works in this environment. So we just got Docker Desktop licenses.

  • by raro11 on 11/9/22, 9:48 PM

    Docker Desktop for Mac released an experimental file sharing implementation back in March[0]. It made working with Docker bearable.

    Does anyone know how well Podman performs on Mac? Especially file sharing.

    Edit: A quick Google led me back to this HackerNews comment[1]. Looks like Docker for Mac is faster.

    [0] https://www.docker.com/blog/speed-boost-achievement-unlocked...

    [1] https://news.ycombinator.com/item?id=32307595

  • by moondev on 11/9/22, 10:54 PM

    I have been experimenting with the arm64 windows dev kit, neither docker desktop, podman desktop or rancher desktop had arm64 builds. Installing the amd64 builds did not work either.

    I was surprised to find out wsl2 now supports systemd

    https://devblogs.microsoft.com/commandline/systemd-support-i...

    I was able to install docker normally inside wsl2 and it worked perfectly. No "desktop" app needed. This will be a game changer when it hits GA

  • by candiddevmike on 11/9/22, 10:31 PM

    The problem with podman at the moment (IMO) is version drift. RHEL/Fedora and friends get the latest and greatest (4), Debian/Ubuntu are stuck on 3.x. This isn't a problem with Docker, which has tight control over what is deployed. This means how you use Podman directly or indirectly via tools and plugins may change.
  • by galleywest200 on 11/10/22, 1:42 AM

    I really tried to use Podman, but I kept running into issues trying to get a rootless deployment on RHEL that used a protected port (53) and it gave me so much trouble that I uninstalled Podman and installed Docker.

    Maybe I can try again, but it was frustrating enough to turn me away for a while.

  • by smcleod on 11/10/22, 3:48 AM

    Note: This is quite a big heavy Electron app, if you don't need truly a GUI I'd recommend Colima. https://github.com/abiosoft/colima
  • by matai_kolila on 11/9/22, 9:56 PM

    Am I just a dum dum for not getting this to drop-in replace Docker Desktop for my relatively simple projects? Has anyone else experienced the problematic practicalities of switching, or should I just spend a bit more time with it?
  • by overlisted on 11/10/22, 12:24 PM

    For GNOME users: I recommend trying this frontend https://github.com/marhkb/pods
  • by kodisha on 11/10/22, 3:37 PM

    Hyped by those comments, I went and tried both colima and podman.

    My use case is the simplest of them all:

    A docker compose file for postgres12 with a folder attached as permanent volume.

    - colima couldnt do chmod, and it failed when i tried to restore database to folder. I tracked an issue on github, known stuff, issue is couple of years old.

    - podman made it work somehow, data restore was under way - it run out of file descriptors, again - know bug with postgres and other scenarios, tracked on github for few years.

    turned off, fired docker again, it works.

    meh :(

  • by jscheel on 11/9/22, 11:08 PM

    I'd just love to know if Docker is ever going to fix the issue where my computer kernel panics when going into hibernation if my macbook is unplugged and docker is running. Had an open, reproducible issue for a quite while that has affected lots of other folks too, but no real recognition from Docker.
  • by tkiolp4 on 11/9/22, 10:41 PM

    Talking about containers: is there an easy way to run “system” containers? This is, containers that run systemd and everything else you would expect to be running on a normal Linux OS. I rely heavily on VMs to simulate cloud environments, but I would love to use lightweight containers instead. Also, these “system” containers should be able to run containers inside them as well (docker in docker?).

    I saw something on github the other day that may work (can’t remember the name, something about “box”), but it wasn’t available for Macos.

  • by Yuioup on 11/9/22, 9:23 PM

    Can this be installed side-by-side with Docker Desktop (on Windows)?
  • by yoro46 on 11/9/22, 10:20 PM

    Convenient timing! I installed podman last night and was playing with it. So far it feels just like Docker. Too bad it'll take much more time before I get to seriously recommend this at work... But that doesn't mean I can't use it for my personal projects :)
  • by jillesvangurp on 11/10/22, 8:35 AM

    Nice to see some alternatives for docker for mac. If you want to keep it simple, simply running a vm (on your device or remotely) and let the docker client talk to it via ssh. I used qemu for this a while ago as it seems is podman.

    All you need to do for this is set the DOCKER_HOST variable. It gets slightly tricky with e.g. volume mounts of course. But otherwise this works fine. Including with docker-compose. The only other thing you need to do is some port forwarding from the vm; which you can do with ssh as well.

    Podman, Colina, and other tools are essentially just nicer versions of this with a bit more features.

  • by tkiolp4 on 11/9/22, 10:34 PM

    I’m using (as individual, so for free) Docker Desktop on my M1 Apple silicon. It works great. Could someone tell me the benefits of switching to Podman? I like that Podman is open source, though.

    Edit: I’m using it for free.

  • by irsagent on 11/9/22, 9:45 PM

    It's nice to know that there is an alternative to Docker.
  • by user432678 on 11/9/22, 11:03 PM

    Seems cool and I like seeing more alternatives to Docker Desktop. However, another electron app makes sad a little.
  • by afandian on 11/10/22, 7:40 AM

    I don’t see Multipass mentioned here. We switched from Docker desktop when the license changed and it’s been relatively smooth. The installer is friendly, there’s a vm with docker preinstalled and all we had to do was configure network bridging.
  • by COGlory on 11/9/22, 9:31 PM

    Nice, it's on Flatpak as well.
  • by syntaxing on 11/9/22, 10:07 PM

    Echoing others, is there a benefit running this over Docker? I recently setup portainer and Docker on my homelab and had everything running in about 30 min. Is there a benefit to migrate to podman?
  • by ajyotirmay on 11/10/22, 6:17 AM

    Using podman since March of 2022. The experience has been nice, and the ability to run containers under user without going root is definitely nice. Good to see it getting some recognition.
  • by injinj on 11/9/22, 10:36 PM

    Can I use this to manage sudo containers? It's slightly amusing to see the desktop creates a podman daemon, so maybe you could create a sudo podman daemon for use with the desktop somehow?
  • by 404mm on 11/9/22, 10:45 PM

    Sort of off-topic. I noticed they publish Universal, intel and arm builds for MacOS. I’m struggling to understand why would they build all three? Why not do either universal or split arch?
  • by arunc on 11/10/22, 4:47 AM

    Help me understand, is this a replacement for docker desktop? Docker desktop provides kubernetes in a neat way. Does podman provide k8s on WSL?
  • by majka72 on 11/9/22, 11:51 PM

    I wonder what virtualization they are using on mac.
  • by als0 on 11/10/22, 11:32 AM

    The Flatpak doesn't work for me. "No Container Engine" message. I thought Flatpaks were supposed to just work.
  • by nimbius on 11/10/22, 12:56 AM

    podman/skopeo/buildah and systemd managed user services are an absolute game changer for dockerless rootless containers. pod and service defs are supported and can be exported to k8s when or if you ever need it and theres even a podman-compose plugin to get you moved off docker compose while yoou learn
  • by inshadows on 11/12/22, 11:38 AM

    Yet another 300 MB of utter Electron crap with as little functionality as viable.
  • by jesuspiece on 11/10/22, 4:12 PM

    docker is free..?
  • by pjmlp on 11/10/22, 7:06 AM

    Another Electron app, no thanks.

    One day all of them will join XUL and MSHTML on a retirement home.

  • by cybervegan on 11/9/22, 10:34 PM

    Pity it's only available as a tarball or .flatpak. I've never got flatpak to work before, and it doesn't work this time either. :-(