Question: How do you resolve: "docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?." when trying to start docker on Windows SubSystem?
Solution: There is a chance that you tried to run Docker Container without actually starting Docker Engine/Service, to solve this error start the Docker Engine first before running any Docker Containers:
- Type: sudo service start docker #After this command try to run a test Container
- Type: sudo docker run hello-world # You should see the output to the console, if you see the output then you have successfully started Docker Service and able to run a Container.