Hyper-V is a native hypervisor built in to modern versions of Microsoft Windows.
- 64-bit versions of Windows 10 Enterprise, Pro, or Education (system requirements)
- Hyper-V enabled
Open a PowerShell console as Administrator, and run the following command:
If Hyper-V was not previously active, you will need to reboot.
minikube start --driver=hyperv
To make hyperv the default driver:
minikube config set driver hyperv
minikube start command supports additional hyperv specific flags:
--hyperv-virtual-switch: Name of the virtual switch the minikube VM should use. Defaults to first found
--hyperv-use-external-switch: Use external virtual switch over Default Switch if virtual switch not explicitly specified, creates a new one if not found. If the adapter is not specified, the driver first looks up LAN adapters before other adapters (WiFi, …). Or the user may specify an adapter to attach to the external switch. Default false
--hyperv-external-adapter: External adapter on which the new external switch is created if no existing external switch is found. Since Windows 10 only allows one external switch for the same adapter, it finds the virtual switch before creating one. The external switch is created and named “minikube”
Also see co/hyperv open issues
minikube start --alsologtostderr -v=7to debug crashes
Last modified April 22, 2020: small fixes (cb321b524)