Troubleshooting Minikube Installation on Windows(also for WSL/WSL2 users)

  • Your PC does not have Virtualization enabled. To solve this, all you need to do is to enable Virtualization in the BIOS menu. All you need to do is to restart your PC and press the BIOS menu key (F2 for Asus) with respect to your PC/Laptop vendor. Now go to Advanced menu in BIOS and enable the Virtualization. Press F10 and Enter to save it and reboot.
  • Even after enabling Virtualization, if you’re not able to fix this error, you might need to disable Hyper-V in your system. This especially happens nowadays on Windows 10 with WSL installed in it. Since WSL works on Hyper-V, it is generally difficult to run other virtualization software like Virtual Box, though now a days, Virtual Machine supports Hyper-V which means we can run WSL2 and Virtual Box simultaneously. So in order to set up minikube server on Virtual Box, you need to disable Hyper-V. For this, open command prompt (cmd) using administrator mode and type the following command:
bcdedit /set hypervisorlaunchtype off
bcdedit /set hypervisorlaunchtype auto

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Akshansh Singh

Akshansh Singh

Final Year Undergrad from Indian Institute of Information Technology Ranchi interested in learning the ins and outs of Technology