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

Hi all,

I’m new to docker and the reason I’ve used it is because it is what SAP uses to introduce a new tool to the market. After reading through some of the standard documentations and playing around with it, I need to start working on some “advance” stuff and I’ve hit a problem, specifically this error message

“error building docker image. Docker daemon error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?”

Has any fixed this problem before? I am running docker using windows10. Under my docker settting, I have enable Expose deamon to tcp://localhost:2375 without TLS, restarted everything and even my machine and nothing works.

thank you in advance for your help.