首页 > 其他 > 详细

docker error:service didn‘t start

时间:2015-08-11 10:20:09      阅读:1049      评论:0      收藏:0      [点我收藏+]

when run the calling "docker run hello-world" occur the  error as follow:

      Post http:///var/run/docker.sock/v1.19/containers/create: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

run   "docker -d -D" show the detail errors as follow

FATA[0000] Error starting daemon: open /var/run/docker.pid: permission denied

Soltuion:

       

This error is because you have not started the docker service. Once you start the service it creates /var/run/docker.sock and then the error is resolved.

sudo service docker start

Then you can see if the installation is proper or not by sudo docker info.


docker error:service didn‘t start

原文:http://my.oschina.net/endeavour/blog/490511

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