码迷,mamicode.com
首页 > 其他好文 > 详细

docker error:service didn‘t start

时间:2015-08-11 10:21:56      阅读:137      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!