前提已安装docker desktop

(docker desktop 是docker安装在win10上的一个工具)

1. 安装choco

(安装minikube用)

powershell输入:

Set-ExecutionPolicy Bypass -Scope Process -Force;[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

安装成功后,powershell输入choco会有响应:

2.安装minikube

choco install minikube

安装成功后,powershell输入minikube会有响应:

或者直接输入 minikube version

3. 启动

        3.1 minikube start

        3.2 minikube dashboard

        

此处会自动弹出展示页面