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

2025-05-27 0 29

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出现Cannot connect to the Docker daemon. Is the docker daemon running on this host错误解决办法

原因分析:

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

解决方案:

1.启动服务:service docker start

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

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

原文链接:http://blog.csdn.net/StemQ/article/details/53575320

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。

快网idc优惠网 行业资讯 Docker出现Cannot connect to the Docker daemon. Is the docker daemon running on this host错误解决办法 https://www.kuaiidc.com/68262.html

相关文章

发表评论
暂无评论