加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

Docker出现Cannot connect to the Docker daemon. Is the docker

发布时间:2020-12-16 03:45:28 所属栏目:安全 来源:网络整理
导读: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 hos

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? 如下图

原因分析:

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

解决方案:

1.启动服务:service docker start

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

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

您可能感兴趣的文章:

  • Docker网络代理设置详解
  • Docker 网络模式(四种)详细介绍
  • Docker为网络bridge模式指定容器ip的方法
  • Docker网络之单host网络及使用案例

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读