WIndows 10 安装 Docker Desktop(Kubernetes)

包括配置 Kubernetes 。
前提条件:
需要 Windows 10 专业版,不能是家庭版。
1. 安装 Docker Desktop
下载地址:
https://hub.docker.com/editions/community/docker-ce-desktop-windows
2. 增加镜像配置
添加 azure 的服务
{
"registry-mirrors": [
"https://dockerhub.azk8s.cn",
"https://gcr.azk8s.cn",
"https://quay.azk8s.cn"
],
"insecure-registries": [],
"debug": true,
"experimental": false
}
3. 配置 Kubernetes
参考以下网站下载 kubernetes 镜像
https://github.com/AliyunContainerService/k8s-for-docker-desktop
下载git项目,“以管理员身份运行” 的 PowerShell 中执行
Set-ExecutionPolicy RemoteSigned
.\load_images.ps1
然后开启 Kubernetes 。