hyperv

Microsoft Hyper-V driver

Overview

Hyper-V is a native hypervisor built in to modern versions of Microsoft Windows.

Requirements

Enabling Hyper-V

Open a PowerShell console as Administrator, and run the following command:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

If Hyper-V was not previously active, you will need to reboot.

Usage

minikube start --vm-driver=hyperv 

To make hyperv the default driver:

minikube config set vm-driver hyperv

Special features

The minikube start command supports additional hyperv specific flags:

  • --hyperv-virtual-switch: The hyperv virtual switch name. Defaults to first found

Issues

Also see co/hyperv open issues

Troubleshooting

  • Run minikube start --alsologtostderr -v=7 to debug crashes