Sample Header Ad - 728x90

Why does minikube require passwordless sudo for podman?

0 votes
1 answer
1573 views
[Minikube specifies](https://minikube.sigs.k8s.io/docs/drivers/podman/#known-issues) , > Podman requirements passwordless running of sudo. If you run into an error about sudo, do the following: They suggest adding username ALL=(ALL) NOPASSWD: /usr/bin/podman However, this must be very insecure as now you could do, sudo podman run -ti -v /etc/shadow:/etc/shadow:rw alpine:3 /bin/sh And not have to authenticate. Why is this requirement in place? Is there an alternative?
Asked by Evan Carroll (34663 rep)
Nov 20, 2020, 04:51 PM
Last activity: Nov 20, 2020, 06:12 PM