I have followed all the instructions on Minikube carefully (I thought). I installed it on Windows 10 (ver 1.7.2), started a Powershell console under Administrator, set the 3 PROXY variables (I am behind a proxy), enabled the Microsoft-Hyper-V, and ran the cmd: minikube start --vm-driver=hyperv It downloads the VM boot images, then I get the following line output: * Creating hyperv VM (CPUs=2,....etc) .... AND THAT'S IT! Nothing else!! If I start the Hyper-V Manager I don't see any VMs there. The .minikube directory is populated with several dirs and files. But for the rest I am completely blind! I have left it to run for half an hour or more. Still nothing. I have tried terminating the process, stopping, deleting (in this case I get the output 'Deleting Kubenetes cluster' but whether this means anything I don't know) and flushing the .minikube directory ... then running it all again off a clean base. NADA! NOTHING! same thing! Could someone please tell me what I am doing wrong? I thought this was supposed to work out of the box! Why don't I see my VM in Microsoft-Hyper-V manager for a start? I don't even get as far as seeing starting Kubenets cluster, yet I get no errors!
-
What exact instructions have you followed? Please provide the guide/source. – Wytrzymały Wiktor Feb 25 '20 at 09:01
-
I followed mainly the instructions at this page: https://minikube.sigs.k8s.io/docs/start/windows/ but also at the Kubenetes site: https://kubernetes.io/docs/tasks/tools/install-minikube/ – P. Cartier Feb 26 '20 at 13:24
-
Have you seen [this thread](https://stackoverflow.com/questions/54774023/minikube-hangs-on-the-starting-vm-step)? – Wytrzymały Wiktor Feb 27 '20 at 12:23
3 Answers
Try to follow this guide. It has a step by step instructions bout how to setup Docker and Minikube on windows 10 with Chocolatey.
Also here you will find an analogical issue with possible solutions.
Before you start again, remember to delete the .minikube folder after executing minikube delete
to avoid any leftover configuration to persist.
Please let me know if that helped.

- 11,492
- 5
- 29
- 37
-
HAllo. And apologies for late reaction. Out of town & out of life with this virus! – P. Cartier Apr 11 '20 at 15:09
-
First, the page you supply is very good if you're starting from scratch so thanks for that. However I already had Docker Desktop installed and running and I don't want to put yet another layer of software (Choclatey) on to my system just to try and get Minikube installed! – P. Cartier Apr 11 '20 at 15:40
For the record, I flushed everything .. and tried several things from the above page, the K8 site and elsewhere. In a nutshell Docker for Desktop works and Minikube doesn't (not 100% anyway)! I was just curious back in February as to whether I could set up a local Kubenetes environment quickly and easily and I am afraid for me the answer is No: Minikube is not quick and easy. Also, you can enable Kubenetes on Docker Desktop now of course and it works out of the box as software should, so no more need for Minikube.

- 331
- 1
- 2
- 6
The following are the instructions for setting up and installing Minikube and its dependencies for use on Windows Pro or Enterprise with Docker Desktop and HyperV.
Install Kubectl
Create a new directory that you will move your kubectl binaries into. A good place would be
C:\bin
Download the latest
kubectl
executable from the link on the Kubernetes doc page:
https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-on-windows
Move this downloaded
.exe
file into the bin directory you created.Use Windows search to type “env” then select “Edit the system environment variables”
In the System Properties dialog box, click “Environment Variables”.
In System Variables click on the “Path” Variable and then click “Edit”
Click “New” and then type
C:\bin
Drag the newly created path so that it is higher in order than Docker's binaries. This is very important and will ensure that you will not have an out of date
kubectl
client.Click "OK"
Restart your terminal and test by typing
kubectl
into it. You should get the basic commands and help menu printed back to your screen. If this doesn't work try restarting your machine.Run
kubectl version
to verify that you are using the newest version and not the out of date v1.10 version.
Install Minikube
- Download the Windows installer here:
https://github.com/kubernetes/minikube/releases/latest/download/minikube-installer.exe
Double click the
.exe
file that was downloaded and run the installer. All default selections are appropriate.Open up your terminal and test the installation by typing
minikube
. You should get the basic commands and help menu printed back to your screen. If this doesn't work try restarting your machine.
Configure HyperV
In Windows Search type "HyperV" and select "HyperV Manager"
In the right sidebar click "Virtual Switch Manager"
Leave selected "New Virtual network Switch" and "External" and click "Create Virtual Switch"
Name the switch "Minikube Switch" (or whatever you would like to name it)
Click Apply and acknowledge the "Pending changes" dialog box by clicking "yes"
Once the switch has been created, click "Ok"
Starting Up Minikube
Since by default Minikube expects VirtualBox to be used, you need to tell it to use the hyperv driver instead, as well as the Virtual Switch created earlier.
Start up a terminal as an Administrator. Then, in your terminal run:
minikube start --vm-driver hyperv --hyperv-virtual-switch "Minikube Switch"
NOTE: all minikube commands must be run in the context of an elevated Administrator.

- 14,004
- 16
- 96
- 156