I want to work on minikube . I installed it successfully but I learned that in Windows 10 , I need to disable Hyper-v .
Now , when I try to install docker , it needs Hyper-v enabled .
I need both for work .
Please suggest a way to make this happen .
Appreciate your help . :)
You can achieve this by creating a new virtual switch in Hyper-V Manager for Minikube.
- Open the Hyper-V Manager (simple Windows search will find it)
- Select 'Virtual Switch Manager'
- Select 'New virtual network switch' and choose network type 'External'
- Create the virtual switch (take note of the name you save it with)
- Then when starting up minikube you can do the following:
minikube start --vm-driver hyperv --hyperv-virtual-switch "<your switch name>"
Approach taken from the following Medium article: https://medium.com/@JockDaRock/minikube-on-windows-10-with-hyper-v-6ef0f4dc158c
@bkr you don't have to turn off Hyper-V to use minikube.
Scenarios are like this:
1) Use Docker, and minikube with Hyper-V (you will find instruction in an answer above)
Enable Hyper-V, install Docker, use minikube with arguments minikube start --vm-driver hyperv --hyperv-virtual-switch "<created Hyper-V switch name>"
In the same time you will be able to interact with Docker in normal way. Use kubectl/minikube commands for your Kubernetes cluster and Docker commands for Docker.
2) Use VirtualBox for Kubernetes and Docker toolbox for Docker
minikube start --vm-driver=virtualbox
3) Use Docker for Windows and Kubernetes in Docker