Hyper V has been started.
OS: Winsows 10 Pro RAM: 4GB
*****Power shell is started in Admin mode********
I have created a Virtual Switch Manager then I am trying the below command.
minikube start --vm-driver hyperv --hyperv-virtual-switch "Minikube Switch"
it is throwing below error.
minikube v1.7.2 on Microsoft Windows 10 Pro 10.0.18363 Build 18363
* Using the hyperv driver based on user configuration
! 'hyperv' driver reported an issue: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online failed:
* Suggestion: Start PowerShell as Administrator, and run: 'Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All'
* Documentation: https://minikube.sigs.k8s.io/docs/reference/drivers/hyperv/
X hyperv does not appear to be installed
I also experienced the same issue on my Windows 10 enterprise machine. Following below steps correctly probably solved my problem:
Execute command
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
After successful execution, restart the system.
Execute command
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
Execute command
minikube start --vm-driver=hyperv
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With