首页 > 其他 > 详细

Cannot connect to the Docker daemon. Is 'docker daemon' running on this host?

时间:2016-11-10 03:25:45      阅读:513      评论:0      收藏:0      [点我收藏+]

if first time to install docker, be noted the docker engine started as root

copied from: http://blog.163.com/s2006203387@126/blog/static/533199572015111703735423/

Ubuntu 14.04
第一次安装Docker,运行hello-world 是可以的,
重启系统之后,运行hello-world 出现如下报错:
 
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
 
 
多方查找,解决如下:
sudo su -                       //切换到root
service docker start      //启动docker service
docker images              //显示所有images
docker run hello-world  //重新运行
 
恩,是权限问题,当前用户没权限,root用户可以运行技术分享

Cannot connect to the Docker daemon. Is 'docker daemon' running on this host?

原文:http://www.cnblogs.com/IamThat/p/6049436.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!