News for hackers. Stuff that matters.
Re:Minikube now supports rootless podman driver for running ... by baobob on Thursday June 23, 2022 @05:02AM (#31846603)
While rootless is a curious technical trick I don't understand why the implementation ever left someone's laptop, both file and networking performance are utterly abysmal, which is completely at odds with one of the primary benefits of containers (near zero overhead).
Re:Minikube now supports rootless podman driver for running ... by awoimbee on Thursday June 23, 2022 @05:24AM (#31846724)
On servers, yes, rootless doesn't make much sense. But on on my dev laptop, "sudo docker" is tiring and adding docker to the sudoers group is a big security hole (why does everyone seem to think that "docker run" giving root privileges is ok ?!).
Re:Minikube now supports rootless podman driver for running ... by snorremd on Thursday June 23, 2022 @07:53AM (#31847770)
This indeed. The Docker team should not include the "adding your user to the docker group"-section in the install documentation. It is very unsafe and even though they link to a document on security implications I don't think all users will truly grasp the implications.

Better to hide this feature and promote the rootless docker mode for local use. On servers you won't be adding any unprivileged user to the docker group in any case.

Re:Minikube now supports rootless podman driver for running ... by candiddevmike on Thursday June 23, 2022 @06:18AM (#31847089)
You should add yourself to the docker group...
Re:Minikube now supports rootless podman driver for running ... by rcxdude on Thursday June 23, 2022 @06:45AM (#31847265)
which has the same effect, the docker group effectively has root access.
Re:Minikube now supports rootless podman driver for running ... by Bayart on Thursday June 23, 2022 @06:30AM (#31847178)
sudo usermod -aG docker $USER
Re:Minikube now supports rootless podman driver for running ... by prmoustache on Thursday June 23, 2022 @07:53AM (#31847767)
this is not safer.
Re:Minikube now supports rootless podman driver for running ... by moody5bundle on Thursday June 23, 2022 @09:07AM (#31848521)
this is the same as:

%wheel ALL=(ALL) NOPASSWD: ALL

effectively disabling sudo completely.

Re:Minikube now supports rootless podman driver for running ... by bogwog on Thursday June 23, 2022 @03:53PM (#31854353)
This is the first I've heard about serious performance overhead from going rootless. Do you have any links with more info about it?

I haven't encountered any issues like this personally with rootless podman (although I'm not doing any large scale deployments).

Re:Minikube now supports rootless podman driver for running ... by alduin32 on Thursday June 23, 2022 @08:45AM (#31848263)
What causes the file/networking performance degradation when running unprivileged containers ?
Re:Minikube now supports rootless podman driver for running ... by AkihiroSuda on Friday June 24, 2022 @11:26PM (#31872295)
The filesystem performance degradation was resolved in kernel 5.11 which added support for rootless overlayfs.

The network performance is caused by slirp (usermode TCP/IP) but it is being resolved too : https://github.com/rootless-containers/bypass4netns

Re:Minikube now supports rootless podman driver for running ... by mavhc on Thursday June 23, 2022 @06:58AM (#31847377)
overlay2 or fuse-overlayfs?