问题
I'm trying to run minikube with hyperv without open an Administrator powershell. Is there any way? I'm doing this:
choco install minikube
minikube.exe start --vm-driver "hyperv"
If I try to launch minikube start from a normal powershell it gives me this message:
X hyperv does not appear to be installed
回答1:
This issue occurs when you didn't install Hyper-V
or it wasn't installed properly due to Windows updates or some environment issues. You can check if Hyper-V
works properly if you will execute systeminfo
. More info in Minikube docs. There are many ways to install Hyper-V
. Easiest one is to install via Turn Windows features on or off
, it's mentioned in this article as Solution 7
. If it wouldn't help you can try others.
After proper installation of Hyper-V
you need to install Docker for windows, Minikube
and Kubectl
. I've already created mini tutorial here. You can also check this tutorial about Minikube on Windows
.
As additional information, I am not using admin rights.
回答2:
Minikube works only with elevated rights on Windows https://github.com/kubernetes/minikube/issues/6585#issuecomment-585269831
来源:https://stackoverflow.com/questions/60322537/launching-minikube-as-normal-user-on-windows-10