% docker run --name dev -d ubuntu:latest
docker: Error response from daemon: dial unix docker.raw.sock: connect: no such file or directory.
See 'docker run --help'.
If you are trying to execute a docker command and you get the above error, it is more likely that the docker desktop app (or the daemon) has not yet started completely.
Fix:
Just make sure that Docker Desktop App is running and has started completely before you try to run a command.

As you may see in the above image, I opened the Docker Desktop using the command line and immediately ran a docker run command which failed as dial unix docker.raw.sock: connect was not yet created, running the same command after few moments worked!
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!