windos wsl2 docker unix:///var/run/docker.sock

解决方案

问题如下

root@DESKTOP-VM0J0I4:~# docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

启动下docker

 sudo service docker start

csdn 等风来不如迎风去

 htp://t.csdn.cn/Gh365

你可能感兴趣的:(docker,java)