-
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
Installing step should have docker user and group creation step as well #19742
Comments
Hi @niharika1233, could you explain exactly what you mean. What command did you run? What error were you getting? |
@spowelljr yes sir, let me just try to recreate the issue |
Sir while running minikube, i found an error saying that i should not run docker as root, which required me to first add a group docker and then add a user to that docker group for the part of installation of minikube. We should either do two things 1> add a prerequisite to confirm user as docker and not root user 2> or the required steps for the docker |
Adding a docker group and adding the user is part of the Docker install instructions: https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user |
I'm not sure I understand what you're trying to suggest. Completely unrelated to minikube, when you install docker there are instructions to add your user to the docker group, as seen in https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user. It seems you accidentally missed that step, which is fine, and then when you try to start minikube we see that you forgot that step and output the following:
If you run the command we provided you it should resolve your issue, we don't support running minikube as root with the docker driver.
That's what the suggestion is telling your to do already. |
The suggestion that you are giving on command line thanks for that, i think you can also include as prerequisites steps in the installation webpage |
Not sure if this PR #19925 can address the issue. @spowelljr PTAL |
What Happened?
I was installing minikube and found that running minikube installation needs docker as a user and in group as well.
Attach the log file
no such file for logs
Operating System
Ubuntu
Driver
Docker
The text was updated successfully, but these errors were encountered: