News for hackers. Stuff that matters.
Re:Minikube now supports rootless podman driver for running ... by anticristi on Thursday June 23, 2022 @02:50AM (#31845913)
Just to make sure: "rootless" is really misleading. As far as I researched, podman either relies on suid binaries or privileged capabilities or both to do its magic. You might as well call it "capabilitiesful podman driver".
Re:Minikube now supports rootless podman driver for running ... by mishafb on Thursday June 23, 2022 @05:02AM (#31846607)
You do need an suid binary to e.g. set a new user id map, since this requires comparing the user id range owned by you to what you're mapping, but you only do it once and it's a simple, secure operation.
Re:Minikube now supports rootless podman driver for running ... by encryptluks2 on Thursday June 23, 2022 @02:57AM (#31845949)
I don't think it is misleading. Just because you need root privileges to enable "rootless" doesn't mean it isn't rootless once configured.
Re:Minikube now supports rootless podman driver for running ... by RandomBK on Thursday June 23, 2022 @03:25AM (#31846109)
It's somewhere in between. You definitely need to enable features that are normally out-of-reach of regular users (i.e. user namespaces, network namespace, unprivileged ping, etc.) However it's still a far cry from full root access, and arguably a smaller surface area than regular run-everything-as-root mode.
Re:Minikube now supports rootless podman driver for running ... by wronglyprepaid on Thursday June 23, 2022 @04:57AM (#31846577)
> podman either relies on suid binaries

I'm fairly sure this is only the case on older systems, if your system is up to date then podman should not rely on suid binaries.

Re:Minikube now supports rootless podman driver for running ... by moody5bundle on Thursday June 23, 2022 @05:58AM (#31846960)
Maybe you should include this into your "research":

- https://opensource.com/article/19/2/how-does-rootless-podman...

- https://github.com/containers/podman/blob/main/docs/tutorial...

TL;DR

cgroup V2 support

Installing Podman

Install slirp4netns

Ensure fuse-overlayfs is installed

Re:Minikube now supports rootless podman driver for running ... by znpy on Thursday June 23, 2022 @07:57AM (#31847809)
you can run containers without root, suid bits or special capabilities with podman.

of course, withouth any of that your containers will be able to do very little (eg: no networking).

Re:Minikube now supports rootless podman driver for running ... by AkihiroSuda on Friday June 24, 2022 @11:30PM (#31872317)
Slirp networking does not need any suid bit or special capability.