This question already has an answer here:

How can I solve this problem?

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

marked as duplicate by user117103, Eric Carvalho, Charles Green, Zanna, George Udosen Dec 19 '17 at 19:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.