Live data from Hacker News

Podman in Linux

diego-pacheco.blogspot.com

51–60 of 90 posts

Re: Podman in Linux

#51

The challenges I’ve had switching out Docker Engine, CLI, and Compose with Podman has been the absence of a vetted Docker Compose replacement. What I’ve done so far in replacing Docker Desktop has been to use just the CLI, Engine, and Compose on WSL2.

As of 3.0 you can apparently run docker-compose directly against podman in daemon mode (thought I haven't tried it).

Re: Podman in Linux

#52
post #29

Earlier quoted context omitted.

Yep. Podman takes cares of those things using the `podman machine` sub-command. From what I understand, currently only macOS might be working, but Windows support will be coming if it's not already there.

AFAICT podman machine relies on VirtualBox. This would be an enormous performance and resource regression on MacOS — Docker Desktop uses the much more performant and resource-conscious native hypervisor frameworks instead.

If true, also untenable since last I checked VBox doesn't plan to support ARM hosts (including the new Mac chipset)

Re: Podman in Linux

#53
> It's the natural open-source Docker replacement. Docker recently changed the license and plans.

Come on. While maybe not an outright lie, this is certainly bending the truth and leaving out crucial details–Docker CLI is still open source and free, just not Docker Desktop.

While you can use podman on Linux (and should if it fits your needs!), you're not being forced to use it because Docker became paid or anything like that!

Re: Podman in Linux

#55
I tried to give Podman a go on Ubuntu 20.04 and it _worked_ but I could never get it going with a docker-compose file.

There is apparently support in the works, but I can't find or get that support on Ubuntu at this stage. Shame, I was hoping it might support IPv6 better than docker currently does.

Re: Podman in Linux

#56
post #55

I tried to give Podman a go on Ubuntu 20.04 and it _worked_ but I could never get it going with a docker-compose file. There is apparently support in the works, but I can't find or get that support on Ubuntu at this stage. Shame, I was hoping it might support IPv6 better than docker currently does.

I can’t speak for Ubuntu, but all of my containers are setup in docker compose for podman things start find there is a couple tweaks like container name I had to make, but over all pretty straightforward. I’d recommend another go if you are looking for an alternative.

As I like rootless containers. I think the implementation feels awkward for local directory permission mounting volumes.

Re: Podman in Linux

#57

Earlier quoted context omitted.

It depends on what you mean by “replace” Docker Desktop, but Podman can run a VM on macOS and has replaced Docker Desktop for me. There’s no fancy (useless) UI nor Windows support yet though.

AFAICT podman machine relies on VirtualBox. This would be an enormous performance and resource regression on MacOS — Docker Desktop uses the much more performant and resource-conscious native hypervisor frameworks instead.

podman machine uses qemu with Hypervisor.framework on macOS

Re: Podman in Linux

#58
post #3

Somehow a lot of these blog posts seem to get the fine technical details of the marketing speak wrong. > Docker recently changed the license From my understanding this is related to Docker Desktop not Docker. I'm pretty sure Podman can't replace Docker Desktop. This is also what the linked website says. Or did I miss something? And in the linked Blog post it says > Docker was dropped from Kubernetes. which from my un…

> I'm pretty sure Podman can't replace Docker Desktop. Multiple siblings here have already mentioned that it absolutely can (and does for many). My question is: in what way does it not? What is Docker Desktop doing for you that podman lacks? Just UI?

Volume Mount integration is the big one for me. UI is neither here nor there, but managing the VM is what Docker Desktop means for most users. Podman Machine is getting there, but not quite there yet.

Re: Podman in Linux

#59
I love podman. When you write a file to a volume from a container, the user that spawned the container is the owner. This is exactly what you expect, but with docker, everything is written as root. After many years, this has not been fixed:

https://github.com/moby/moby/issues/2259

This has made it impossible to use docker in scripts where root access is not available. Thank you podman!

Re: Podman in Linux

#60

Earlier quoted context omitted.

AFAICT podman machine relies on VirtualBox. This would be an enormous performance and resource regression on MacOS — Docker Desktop uses the much more performant and resource-conscious native hypervisor frameworks instead.

podman machine uses qemu with Hypervisor.framework on macOS

Oh, nice! Thanks for the correction.
Post reply on HN