首页服务器Web服务器 Docker出现Cannot connect to the Docker daemon. Is the docker daemon running on this host错误解决办法

Docker出现Cannot connect to the Docker daemon. Is the docker daemon running on this host错误解决办法

Docker出现Cannot connect to the Docker daemon. Is the docker daemon running on this host错误解决办法 发生现象: ubuntu15下,安装完Docker后,运行docker images 报错Can…

Docker出现Cannot connect to the Docker daemon. Is the docker daemon running on this host错误解决办法

发生现象:

ubuntu15下,安装完Docker后,运行docker images 报错Cannot connect to the Docker daemon. Is the docker daemon running on this host? 如下图

Docker错误解决办法,Docker出现Cannot,connect,to,the

原因分析:

目前我遇到这个问题是两个原因造成的,一个是服务没启动,另一个是当前用户没权限。

解决方案:

1.启动服务:service docker start

2.在执行命令前加上sudo如:sudo docker images

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!


本文来自网络,不代表1号站长-站长学院|资讯交流平台立场。转载请注明出处: https://www.1cn.cc/fwq/web/5505.html
上一篇The application has failed...(应用程序配置不正确)
下一篇 Docker 解决容器时间与主机时间不一致的问题三种解决方案
admin

作者: admin

这里可以再内容模板定义一些文字和说明,也可以调用对应作者的简介!或者做一些网站的描述之类的文字或者HTML!

为您推荐

评论列表()

    联系我们

    联系我们

    0898-88888888

    在线咨询: QQ交谈

    邮箱: email@wangzhan.com

    工作时间:周一至周五,9:00-17:30,节假日休息

    关注微信
    微信扫一扫关注我们

    微信扫一扫关注我们

    关注微博
    返回顶部