下载
下载地址:Docker Desktop for Windows by Docker | Docker Hub
检查电脑是否开启虚拟化
双击Docker Desktop Installer.exe安装
下一步,下一步即可
安装完成,cmd输入docker -v确认
打开Dokcer
会提示
The WSL 2 Linux kernel is now installed using a separate MSI update package. Please click the link and follow the instructions to install the kernel update: Manual installation steps for older versions of WSL | Microsoft Docs
根据提示打开页面,下载wsl2-kernel安装,重启Docker即可