WIndows 10 安裝 Docker Desktop(Kubernetes)

包括配置 Kubernetes 。
前提條件:
需要 Windows 10 專業(yè)版,不能是家庭版。
1. 安裝 Docker Desktop
下載地址:
https://hub.docker.com/editions/community/docker-ce-desktop-windows
2. 增加鏡像配置
添加 azure 的服務(wù)
{
"registry-mirrors": [
"https://dockerhub.azk8s.cn",
"https://gcr.azk8s.cn",
"https://quay.azk8s.cn"
],
"insecure-registries": [],
"debug": true,
"experimental": false
}
3. 配置 Kubernetes
參考以下網(wǎng)站下載 kubernetes 鏡像
https://github.com/AliyunContainerService/k8s-for-docker-desktop
下載git項目,“以管理員身份運行” 的 PowerShell 中執(zhí)行
Set-ExecutionPolicy RemoteSigned
.\load_images.ps1
然后開啟 Kubernetes 。
標(biāo)簽: