-
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
The "virtualbox" driver should not be used with root privileges. #7659
Comments
I would strongly encourage you to make a non-root user. The root user in UNIX is for administrative commands, not interactive developer tools. We should see about removing the guidance for using |
try to add --force |
@ts7101990 we dont recommend using minikbue with root user. please reopen if you really think this is needed |
Please try with |
Thank you for the help.....after trying all other methods, this method worked |
its works! # sudo minikube start --force |
Added "sudo" at the beginning too! |
Don't write this command: minikube start --driver=(virtualbox or any other) as the root user |
I am trying to install minikube and run it. So I have followed the below steps:
Installed Oracle Virtual box.
VBoxManage -version --> 6.0.14_Ubuntur132055
Installed Kubectl.
kubectl version --client --> Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.1", GitCommit:"7879fc12a63337efff607952a323df90cdc7a335", GitTreeState:"clean", BuildDate:"2020-04-08T17:38:50Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Installed minikube but when I tried "minikube start" it didn't work. Please refer the below details for more information.
root@osboxes:/home/osboxes# minikube start
😄 minikube v1.9.2 on Ubuntu 19.10
✨ Using the virtualbox driver based on user configuration
🛑 The "virtualbox" driver should not be used with root privileges.
💡 If you are running minikube within a VM, consider using --driver=none:
📘 https://minikube.sigs.k8s.io/docs/reference/drivers/none/
root@osboxes:/home/osboxes# minikube start --driver=none;
😄 minikube v1.9.2 on Ubuntu 19.10
✨ Using the none driver based on user configuration
💣 Sorry, Kubernetes v1.18.0 requires conntrack to be installed in root's path
root@osboxes:/home/osboxes# minikube start --driver=docker;
😄 minikube v1.9.2 on Ubuntu 19.10
✨ Using the docker driver based on user configuration
🛑 The "docker" driver should not be used with root privileges.
💡 If you are running minikube within a VM, consider using --driver=none:
📘 https://minikube.sigs.k8s.io/docs/reference/drivers/none/
Let me know what I can do next.
The text was updated successfully, but these errors were encountered: