News for hackers. Stuff that matters.
Re:Podman 4.0 by pydry on Tuesday February 22, 2022 @04:41PM (#30434275)
my understanding was that it was docker that doesnt need root or a daemon.

i always thought it seemed wrong that it needed either of those to start with.

in most other respects i think it's a drop in replacement.

Re:Podman 4.0 by anthropodie on Tuesday February 22, 2022 @04:43PM (#30434299)
What you said is true. Other than those podman:

- does not mess with your iptables unlike docker. Because of this docker can bypass firewall rules set by ufw

- does not creates bridged networks

Re:Podman 4.0 by freedomben on Tuesday February 22, 2022 @04:50PM (#30434386)
If you use K8s or some other production container runtime, those are enormous benefits.
Re:Podman 4.0 by stingraycharles on Tuesday February 22, 2022 @04:54PM (#30434452)
From a security perspective, a daemon is a nightmare. It makes so much more sense to inherit the permissions from the process it’s launched from, and as such I’m a big proponent of podman (or rkt in a distant past).
Re:Podman 4.0 by zaphirplane on Tuesday February 22, 2022 @05:17PM (#30434664)
there is more to it.

If you are running kubernetes there are k8s daemons already possibly CRI-O containerd Otherwise the pod is started by systemd, which is another daemon

A Started from the command line using podman, is not a production pattern

Re:Podman 4.0 by JMS2021 on Tuesday February 22, 2022 @06:23PM (#30435297)
Correct. We are not allowed any command line access to worker nodes or containers. If it isn't deployed using automation, it isn't deployed.
Re:Podman 4.0 by mfer on Tuesday February 22, 2022 @04:51PM (#30434412)
It depends on what you’re looking for. Most people use containerd as their backend to Kubernetes. Docker itself uses it. Podman uses a different engine. That may matter to some folks.

There are also a bunch of tools that talk directly to the docker socket.

There are a lot of varying use cases here.

Disclaimer, I started Rancher Desktop.

Re:Podman 4.0 by nhoughto on Tuesday February 22, 2022 @05:13PM (#30434632)
I think the most surprising coming from docker was that containerd can’t build images, just run them, thus nerdctl and things plus other userspace ways of building images too.. so many options..

Totally makes sense when you understand more but initial is surprising.

Re:Podman 4.0 by Johnnynator on Tuesday February 22, 2022 @04:55PM (#30434458)
Podman can also be optionally be run as a system daemon that provides a docker socket, but still has/used to have quite a bit of compatibility isues.
Re:Podman 4.0 by rodgerd on Tuesday February 22, 2022 @04:56PM (#30434470)
It also has a couple of other handy features:

1. It can form up k8s-style pods for deploying tightly-coupled containers. 2. It can understand k8s YAML for deployment (although obviously it doesn't support everything k8s does), which makes it easier to do deployment config that will work locally with podman and then in a k8s deployment.

Re:Podman 4.0 by withinboredom on Tuesday February 22, 2022 @06:39PM (#30435443)
Docker can do 1. as well. Either via compose (network-mode: service:) or cli (--net=container).
Re:Podman 4.0 by moondev on Wednesday February 23, 2022 @02:17AM (#30438549)
you can also run static k8s pods with docker by just running the k8s kubelet which will watch /etc/kubernetes/manifests