WSL2使用docker
1.WSL2无法使用systemctl,无法通过systemctl开启线程守护;
2.WLS2下通过apt install docker-ce命令安装的docker无法启动,WSL2方式的ubuntu里面>没有systemd;
3.可是使用Docker Desktop 安装教程https://zhuanlan.zhihu.com/p/148511634;
4.安装完成后在WSL2中执行”docker ps”命令报错“Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?解决方案如下:https://blog.csdn.net/a18838956649/article/details/131373497 https://blog.csdn.net/esinzhong/article/details/107617284;