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

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

其实很简单,大概意思是没有找到docker进程。首先看下docker服务是否开启,

运行命令

service docker start

启动之后,再执行docker命令,ok!

你可能感兴趣的:(技术,docker)