If this is a bug report, please include:
[x] The exact command-lines used.
minikube start
[x] The full output of the command that failed
o minikube v0.34.1 on windows (amd64)
> Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
! Unable to start VM: create: precreate: VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path
* Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
- https://github.com/kubernetes/minikube/issues/new
DId you install VirtualBox ?
Yes already
Is it in your PATH?
Yah, but somehow now it's working
Comment on installing on windows:
When reading docs here:
https://kubernetes.io/docs/tasks/tools/install-minikube/
You suppose you don't need VirtualBox as you user Hyper-V, but, steps described in the doc's above makes you fail with the error message topic started has posted. Then you google and come here and https://github.com/kubernetes/minikube/issues/3776. Then you run minikube -h and don't see --vm-driver
So docs for windows needs to be updated a little
Solution:
Go to "Hyper-V Manager" in Windows. (Search from TaskBar)
Once in Hyper-V Manager go to "Virtual Switch Manager" on right panel
Select "New Virtual Network switch"
Select "External" for Network Type
Select Create Virtual Switch (name the switch "Primary Virtual Switch")
Click Apply the OK
After that open Powershell as admin (I got error with cmd) and run command:
minikube start --vm-driver hyperv --hyperv-virtual-switch "Primary Virtual Switch"
After that you just run: minikube start
To check that all is in order run:
minikube status
minikube ip
Main Reference: https://medium.com/@JockDaRock/minikube-on-windows-10-with-hyper-v-6ef0f4dc158c
That Medium article was good but still Minikube is still failing in my Windows 10 machine


here is what I did to make it work. I am behind corporate firewall
My case since VM already on Hyper-v was stopping new VM creation. Second problem was, Virtual switch i created I selected my wireless network instead of LAN (my machine is connected through LAN and Wifi)
I have done all the above, for short period of time everything goes well but suddenly minikube crushes in the middle of pods creation phase and when I check "minikube status" or "kubectl version" in server part says "Unable to connect to server!!!!!"
I had the same issue, just running Powershell as administrator and it worked.
I follows the @Farouk19 comment and it worked as well. However I did a restart on my console app(Conemu) and it was working well.
Most helpful comment
Solution:
Go to "Hyper-V Manager" in Windows. (Search from TaskBar)
Once in Hyper-V Manager go to "Virtual Switch Manager" on right panel
Select "New Virtual Network switch"
Select "External" for Network Type
Select Create Virtual Switch (name the switch "Primary Virtual Switch")
Click Apply the OK
After that open Powershell as admin (I got error with cmd) and run command:
minikube start --vm-driver hyperv --hyperv-virtual-switch "Primary Virtual Switch"
After that you just run: minikube start
To check that all is in order run:
minikube status
minikube ip
Main Reference: https://medium.com/@JockDaRock/minikube-on-windows-10-with-hyper-v-6ef0f4dc158c