Launching Minikube as normal User on Windows 10

女生的网名这么多〃 提交于 2021-01-29 14:46:23

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!