How to install minikube and docker in Windows 10?

前端 未结 2 1094
迷失自我
迷失自我 2021-01-22 06:52

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 en

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-22 07:08

    You can achieve this by creating a new virtual switch in Hyper-V Manager for Minikube.

    1. Open the Hyper-V Manager (simple Windows search will find it)
    2. Select 'Virtual Switch Manager'
    3. Select 'New virtual network switch' and choose network type 'External'
    4. Create the virtual switch (take note of the name you save it with)
    5. Then when starting up minikube you can do the following: minikube start --vm-driver hyperv --hyperv-virtual-switch ""

    Approach taken from the following Medium article: https://medium.com/@JockDaRock/minikube-on-windows-10-with-hyper-v-6ef0f4dc158c

提交回复
热议问题