Live data from Hacker News

Podman in Linux

diego-pacheco.blogspot.com

41–50 of 90 posts

Re: Podman in Linux

#41

Earlier quoted context omitted.

It evolved to become Docker Desktop

No it didn't, Docker Desktop was already released before Docker bought Kitematic. I have receipts: https://www.zdnet.com/article/docker-reels-in-kitematic-as-i... (2015) https://en.m.wikipedia.org/wiki/Docker_(software) (Initial release: 2012) If you mean Docker Desktop added some features from Kitematic, that's a misleading way of saying it.

Guess I don't know what I'm talking about

Re: Podman in Linux

#42

Earlier quoted context omitted.

It’s great that podman serves a good role for you, and I’m not going to argue that. My points: 1. Docker containers absolutely can be run without root. Yes, it’s not the default policy, but containers can have a user ID. If you are referencing the daemon-less root-less nature of podman, that’s a clear advantage of podman vs Docker. 2. Docker containers also have a restart policy which I use to also have them startup…

> root-less nature of podman I see this repeated a lot, but it's not the default, its has to be explicitly configured: https://github.com/containers/podman/blob/v3.3.1/docs/tutori... And in addition to the known upsides, there are some lesser known downsides: 1. There are feature limitations with it: https://github.com/containers/podman/blob/v3.3.1/rootless.md 2. There are security implications, quoting Arch Wiki: >…

AFAIK, the default packaging on Fedora enables rootless podman without additional configuration.

Re: Podman in Linux

#43
post #9

Earlier quoted context omitted.

Windows works via a "Bring your own VM" approach, but since WSL exists I'd expect most Windows users would just run it there

When you install Docker desktop and already have wsl2 installed you get a pop up saying “you just want us to use wsl2?” And away you go. At least that’s what happened when I did it 6 months ago. Works great!

If you don't need to run `docker` command under Windows, install docker directly from distro repo is enough. No need to run another background service. Another benefit is it is faster to build docker images when the files are large, because it doesn't need to move files between WSL VMs.

Re: Podman in Linux

#44
post #4

Earlier quoted context omitted.

It seems to me that almost no one understands the difference between the various layers of "Docker" (that is to say: Desktop, CLI, daemon, containerd, runc) and which layers tools like Podman aim to replace.

Yes, but Docker won't work on Windows without having some machine-compatible integration with Hyper-V. Docker Machine was deprecated in favor of Docker Desktop: https://docs.docker.com/machine/ For now however, you can use minikube which provides drivers for Hyper-V and hyperkit: https://minikube.sigs.k8s.io/docs/drivers/

works whit wsl2, who is include in non pro versions of window, and i think the installer works out of the box (if you have the ubuntu/wsl2 installed)

Re: Podman in Linux

#45

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.

I never liked the GUI or desktop behavior. I just install containerd, point dockerd at it, and download everything manually. This is pretty much my install, sans systemd units:

    curl -LO https://download.docker.com/linux/static/stable/x86_64/docker-20.10.8.tgz
    tar -xvzf docker-20.10.8.tgz
    mv docker/dockerd /usr/bin/dockerd
    mv docker/docker-init /usr/bin/docker-init
    mv docker/docker-proxy /usr/bin/docker-proxy
    mv docker/docker /usr/bin/docker
    rm -rf docker 
    rm docker-20.10.8.tgz

Re: Podman in Linux

#46
post #29

Earlier quoted context omitted.

Docker Desktop isn’t really about the GUI so much as the management of, and host integration with, a Linux VM for running on non-Linux OSes. Notably, there’s no Docker Desktop for Linux, only macOS and Windows.

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.

the only issue really left is that volume mounts don't work with podman machine as of yet. The issue has been live on github for awhile, but its finally getting traction. Likely because of the recent Docker for Desktop changes.

EDIT: github link: https://github.com/containers/podman/issues/8016

Re: Podman in Linux

#47
post #4
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…

It seems to me that almost no one understands the difference between the various layers of "Docker" (that is to say: Desktop, CLI, daemon, containerd, runc) and which layers tools like Podman aim to replace.

But on Windows/Mac there really is not a way to run Docker w/o Docker Desktop installed. And that could be a thing confusing people.

Linux, yeah, I don't think there is a Desktop version for that. It's all CLI

Re: Podman in Linux

#48
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?

Re: Podman in Linux

#49
post #29

Earlier quoted context omitted.

Docker Desktop isn’t really about the GUI so much as the management of, and host integration with, a Linux VM for running on non-Linux OSes. Notably, there’s no Docker Desktop for Linux, only macOS and Windows.

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.

Re: Podman in Linux

#50
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…

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.
Post reply on HN