分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 技术分享

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

发布时间:2023-09-06 01:54责任编辑:蔡小小关键词:httpDocker
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/

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

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved