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

Docker报错

描述:在使用docker version查看刚安装的docker时,出现以下报错:

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

原因和解决

犯了个很低级的错误,实际上是没有启动docker,输入以下命令启动docker:


systemctl start docker

    

其他人还浏览了:



公众号

关注公众号,获取一手资讯

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

评论/回复

电子邮件地址不会被公开。 必填项已用*标注