-
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
Driver "kvm2" not found. Do you have the plugin binary "docker-machine-driver-kvm2" accessible in your PATH #4833
Comments
@BZM708 I am curious have you tried to follow the advice message that minikube printed out ? to make sure to install the driver ? https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#kvm2-driver |
I typed these commands in terminal: and the output is: ● libvirtd.service - Virtualization daemon Name State Autostart Persistentdefault active yes yes > Yet when I start the minikube with this command: It results in the same error as before. |
@BZM708 - First, don't run minikube as root with the kvm driver if you can avoid it. We will soon exit if this case is encountered (#5179). The issue here is either:
Do you mind sharing the output of:
If that works, see if /usr/local/bin exists in your path and your sudo path:
If not, if you absolutely must use minikube as root, the solution is probably to use |
I found another way to use minikube. Thank you for your help. |
It is not written in the doc to install the driver - https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/ --> only KVM installation here https://help.ubuntu.com/community/KVM/Installation Thanks for this
|
The exact command to reproduce the issue: sudo minikube start --vm-driver kvm2
The full output of the command that failed:<
⚠️ Please don't run minikube as root or with 'sudo' privileges. It isn't necessary.
😄 minikube v1.2.0 on linux (amd64)
🔥 Creating kvm2 VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
E0721 10:44:04.513730 18419 start.go:559] StartHost: new host: Driver "kvm2" not found. Do you have the plugin binary "docker-machine-driver-kvm2" accessible in your PATH?
💣 Unable to start VM
❌ Error: [KVM2_NOT_FOUND] new host: Driver "kvm2" not found. Do you have the plugin binary "docker-machine-driver-kvm2" accessible in your PATH?
💡 Advice: Please install the minikube kvm2 VM driver, or select an alternative --vm-driver
📘 Documentation: https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#kvm2-driver
😿 If the above advice does not help, please let us know:
👉 https://github.com/kubernetes/minikube/issues/new
The text was updated successfully, but these errors were encountered: