配置Dorker环境
启用或关闭windows功能

安装wsl
以管理员身份打开windows PowerShell,安装相关配置

下载docker应用程序
Releases · tech-shrimp/docker_installer (github.com)

安装Docker
指定安装位置
默认双击程序就开始安装了,要安装在指定位置,提前在D盘新建D:\Program Files\Docker,以管理员身份打开CMD,执行以下命令
"Docker Desktop Installer.exe" install --installation-dir="D:\Program Files\Docker"
第一个参数是当前安装程序所在位置,这里需要告知具体位置,如E:\Download\docker_desktop_installer_windows_x86_64.exe
安装完成后重启电脑 就完成啦

配置镜像站
"registry-mirrors": [
"https://docker.m.daocloud.io",
"https://docker.1panel.live",
"https://hub.rat.dev"
],

参考链接:tech-shrimp/docker_installer: Docker官方安装包,用来解决因国内网络无法安装使用Docker的问题 (github.com)