WSL2安装Docker Desktop
1、安装wsl2(一定确保是2版本)
https://blog.csdn.net/weixin_46711536/article/details/136578904?spm=1001.2014.3001.5501
2、下载docker-desktop-wsl-2(Docker Desktop Installer.exe)
https://docs.docker.com/desktop/wsl/#turn-on-docker-desktop-wsl-2
3、安装,桌面打开docker desktop,Setting->Redources->wsl integration,勾选Ubuntu-20.04和Enable integration with my default WSL distro
4、打开终端即可,docker ps -a
参考:https://blog.csdn.net/u012558210/article/details/131845638
注意:默认情况下,Docker Desktop 将 WSL 2 引擎的数据存储在C:\Users\[USERNAME]\AppData\Local\Docker\wsl
daemon.json文件保存在:C:\Users\admin\.docker\daemon.json