Live data from Hacker News

Migrating from Docker to Podman

marcusnoble.co.uk

1–10 of 111 posts

Re: Migrating from Docker to Podman

#3
How does podman replace docker desktop? I thought it more as an alternative to the docker daemon, which is still free and open source. I start to wonder if people actually value open source if they run away from something just because some company publishes a commercial GUI.

I like that with docker swarm one can without too much headache go from dev environments to a cluster. At university this seems much better than maintaining k8s. Podman seemed to be more interesting in rootless environments like HPC to me. I really what benefit switching to podman would actually bring to us.

Re: Migrating from Docker to Podman

#4
Ive been using Podman for a while for my non-Kubernetes cloud deployments (i.e. small VM based things).

It's worked very well for me after a few initial hiccups a year or so ago.

Now that Podman-compose[0] is in the works, it'll really be comparable in the UX space soon, and outperforms Docker in several ways when it comes to security.

The key difference with Podman compared to Docker is that is does not run a deamon as root, like Docker does, thus all containers are created with the privilege level of the user who created it.

This can be a learning curve for those used to Docker as privileges (e.g. for filesystems, files) and capabilities (e.g. for devices, low level networking) need to be handled more explicitly as opposed to Docker's approach of "simon (root) says".

Additionally, Podman is very light weight due to the lack of a daemon since there is no service or supporting software which needs to run beyond the capabilities baked into Linux.

[0] https://github.com/containers/podman-compose

EDIT TO ADD: I run Linux both on desktop and server so I have no data for usage in Windows/Mac. Docker Desktop, as I understand it, is a Linux VM.

Re: Migrating from Docker to Podman

#5
post #3

How does podman replace docker desktop? I thought it more as an alternative to the docker daemon, which is still free and open source. I start to wonder if people actually value open source if they run away from something just because some company publishes a commercial GUI. I like that with docker swarm one can without too much headache go from dev environments to a cluster. At university this seems much better than…

> How does podman replace docker desktop?

I don’t think it does. minikube probably comes closet. (But you could run podman instead of Docker inside minikube...)

Re: Migrating from Docker to Podman

#6
post #3

How does podman replace docker desktop? I thought it more as an alternative to the docker daemon, which is still free and open source. I start to wonder if people actually value open source if they run away from something just because some company publishes a commercial GUI. I like that with docker swarm one can without too much headache go from dev environments to a cluster. At university this seems much better than…

It is straightforward to get Podman up and running in WSL2; it is also possible to set up Docker in WSL2 as well without Docker Desktop as well but it is much more painful. So in the Windows space, Podman effectively becomes an alternative to Docker Desktop, simply because the latter makes it possible to do Docker at all (ignoring the other things it does).

Re: Migrating from Docker to Podman

#7
post #3

How does podman replace docker desktop? I thought it more as an alternative to the docker daemon, which is still free and open source. I start to wonder if people actually value open source if they run away from something just because some company publishes a commercial GUI. I like that with docker swarm one can without too much headache go from dev environments to a cluster. At university this seems much better than…

Using any sort of Linux container runtime on Mac requires a VM, since you can't otherwise get the Linux kernel features required. Docker Desktop and podman machine will both do the VM provisioning for you, and then you can use docker the container engine or podman to actually drive containers in the VM it gives you. So it effectively can replace it because podman machine will provision a VM for you, but you can of course use any other VM provisioner you want. There is no need to have it coupled to the container engine.

It's worth noting if you have an M1 Mac, podman machine doesn't work on it yet. Docker Desktop does.

Of course, the easiest way to use containerization technology if that's what you want to do is just use Linux workstations and don't worry about needing a kernel virtualization layer between your workstation and your container engine at all.

Edit: Noting since sibling comments are discussing Windows and WSL that I'm talking specifically about replacing Docker Desktop on Mac because the article linked here is talking about using podman machine to replace Docker Desktop on Mac.

Re: Migrating from Docker to Podman

#8

Ive been using Podman for a while for my non-Kubernetes cloud deployments (i.e. small VM based things). It's worked very well for me after a few initial hiccups a year or so ago. Now that Podman-compose[0] is in the works, it'll really be comparable in the UX space soon, and outperforms Docker in several ways when it comes to security. The key difference with Podman compared to Docker is that is does not run a deamon…

Docker has a rootless mode in the same way that podman has a rootless mode.

Re: Migrating from Docker to Podman

#9
post #3

How does podman replace docker desktop? I thought it more as an alternative to the docker daemon, which is still free and open source. I start to wonder if people actually value open source if they run away from something just because some company publishes a commercial GUI. I like that with docker swarm one can without too much headache go from dev environments to a cluster. At university this seems much better than…

I wrote this dumb little shell script to use multipass + podman to replace docker-desktop.

https://github.com/jedahan/podman-desktop

Post reply on HN