源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

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

  • 时间:2020-04-27 19:10 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要: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错误解决办法 <span style="color: #ff0000">发生现象:</span> ubuntu15下,安装完Docker后,运行docker images 报错Cannot connect to the Docker daemon. Is the docker daemon running on this host? 如下图 [img]http://img.1sucai.cn/uploads/article/2018010709/20180107090138_0_49857.png?2016111292012[/img] 图 <span style="color: #ff0000">[b]原因分析:[/b]</span> 目前我遇到这个问题是两个原因造成的,一个是服务没启动,另一个是当前用户没权限。 <span style="color: #ff0000">[b]解决方案:[/b]</span> 1.启动服务:<span style="color: #0000ff">service docker start</span> 2.在执行命令前加上sudo如:<span style="color: #0000ff">sudo docker images</span> 感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部