DEV Community

Discussion on: Running Docker on WSL2 without Docker Desktop (the right way)

Collapse
 
zachary profile image
zachary

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Collapse
 
felipecrs profile image
Felipe Santos

What shows up if you type sudo service docker start?

Collapse
 
felipecrs profile image
Felipe Santos

Chances are that your WSL version isn't new enough to support boot.command in wsl.conf. Did you try the .profile trick as mentioned in the guide?