-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for rootless docker #8157
Comments
Minikube currently runs privileged containers and requires root, both for docker and for podman (with sudo). It nests a runtime inside Running rootless would be a nice feature for the future, but for now you have to look into the “usernetes” project instead... |
This could be documented better: #7963 |
Do you run any |
@9kranti : this is docker rootless mode: https://docs.docker.com/engine/security/rootless/ It is very similar to just running |
Then |
That is the standard ("rootful" or whatever) docker, not the rootless we are talking about here. |
Here is the link to "usernetes": https://github.com/rootless-containers/usernetes It is not something that is supported by minikube or the standard kubernetes (yet?) Note that the "docker" driver in minikube actually runs docker-in-docker. It is the "none" driver that talks directly to the local docker on the host. |
minikube does not currently support rootless docker, but I am open to anyone who would like to make a PR |
Hey @dashingsat -- until kubernetes supports running in rootless docker, minikube probably won't be able to as well. I'm going to close this issue for now since this isn't something we'll be able to support in the foreseeable future. |
Should be easily portable to minikube. @priyawadhwa Could you reopen this issue? |
@AkihiroSuda : seems that we are already tracking this in #9495 |
Hello,
I am trying to run minikube using docker driver in rootless mode. But minikube is not able to detect the docker daemon.
'docker' driver reported an issue: "docker version --format {{.Server.Os}}-{{.Server.Version}}" exit status 1: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
The docker host env is set to export DOCKER_HOST=unix:///run/user/1000/docker.sock
The text was updated successfully, but these errors were encountered: