-
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
minikube --vm-driver=none crashes cryptically with permission denied #4462
Comments
This seems related to #3718 For now you need to run the none-driver using sudo, on your dedicated VM. |
Also same as #3760 |
Generally, the none driver needs to be run as root. This is behavior we eventually want to change, but for now a |
Some people don't like the concept of the none-driver silently calling sudo behind the scenes, so there are some things left to discuss. But it definitely could fail with a more obvious message, as per the other issue. |
It was supposed to crash sooner or later, if it hadn't been the
|
That's a much better error message in my opinion, we should put that up front. |
We do run it with i.e. someone needs to do it, normally we are running as user on the host and sudo root on the VM If the user is not root, then that normally means that sudo will throw up a password prompt later. |
Thanks for your work on minikube!
Tried to start with --vm-driver=none and it failed
Is this expected to work? If not, it would be nice if it failed up-front with a clearer error message, rather than getting halfway through the process and dying cryptically. Would you be open to a PR to improve the error messaging?
Full details below
The exact command to reproduce the issue:
The full output of the command that failed:
The operating system version:
The text was updated successfully, but these errors were encountered: