码迷,mamicode.com
首页 > Web开发 > 详细

Docker报错:Post http:///var/run/docker.sock/v1.19/

时间:2018-05-15 17:39:20      阅读:2271      评论:0      收藏:0      [点我收藏+]

标签:Docker报错

Docker报错:Post http:///var/run/docker.sock/v1.19/images/create?fromImage=centos%3Alatest: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

[root@centos ~]# docker pull centos

Post http:///var/run/docker.sock/v1.19/images/create?fromImage=centos%3Alatest: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

[root@centos ~]# ^C

[root@centos ~]# uname -a

Linux centos 4.4.131-1.el6.elrepo.x86_64 #1 SMP Wed May 2 14:51:15 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

[root@centos ~]# docker search centos

Get http:///var/run/docker.sock/v1.19/images/search?term=centos: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

[root@centos ~]# ps -ef|grep docker

root       2501      1  0 15:04 pts/0    00:00:01 /usr/bin/docker -d

root       2854   2062  0 15:25 pts/0    00:00:00 grep docker

[root@centos ~]# service docker status

docker dead but subsys locked

[root@centos ~]# service docker start

Starting docker:                                           [  OK  ]

[root@centos ~]# docker pull centos

latest: Pulling from centos


72a57cd6f59e: Pull complete 

437b26967a35: Pull complete 

6ee24d16365c: Pull complete 

Digest: sha256:4b63b3e9fe127c07a15458af7fcc187980a9fff8069063057bbc9c282f26f539

Status: Downloaded newer image for centos:latest

[root@centos ~]# 


Docker报错:Post http:///var/run/docker.sock/v1.19/

标签:Docker报错

原文地址:http://blog.51cto.com/sf1314/2116279

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!