Instead of using sudo systemctl start docker use: sudo /etc/init.d/docker start , as of right now we do not have systemd in WSL 2.
就是说wsl2里面没有 systemd
命令,我们需要用 sudo /etc/init.d/docker start
代替 sudo systemctl start docker
Instead of using sudo systemctl start docker use: sudo /etc/init.d/docker start , as of right now we do not have systemd in WSL 2.
就是说wsl2里面没有 systemd
命令,我们需要用 sudo /etc/init.d/docker start
代替 sudo systemctl start docker