docker被墙了?阿里云的镜像加速都没用了?pull什么软件都不行!!!
docker吧
全部回复
仅看楼主
level 2
丑八黎 楼主
我的docker一直用的好好的,昨天突然就不能用了,pull什么软件都不行!是被墙了嘛?
求解求解
[root@localhost /]# docker pull elasticsearch:7.4.2
Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
网上说是,加镜像就能解决
可是我阿里云的镜像加速,是从一开始安装docker的时候,就一同安装好了的
都用了两个月了,就在昨天想学习elasticsearch的时候
想 docker pull elasticsearch:7.4.2 下来就报错了!我不信邪,
于是我试了其他的 mysql redis 随便下什么,都是报这个错
Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
有解决的嘛?感谢大佬[玫瑰][玫瑰][玫瑰]
2021年04月03日 12点04分 1
level 2
丑八黎 楼主
coentos版本7.0 也是在阿里云下的
docker版本
[root@localhost /]# docker version
Client: Docker Engine - Community
Version: 20.10.5
API version: 1.41
Go version: go1.13.15
Git commit: 55c4c88
Built: Tue Mar 2 20:33:55 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.5
API version: 1.41 (minimum version 1.12)
Go version: go1.13.15
Git commit: 363e9a8
Built: Tue Mar 2 20:32:17 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.3
GitCommit: 269548fa27e0089a8b8278fc4fc781d7f65a939b
runc:
Version: 1.0.0-rc92
GitCommit: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
docker-init:
Version: 0.19.0
GitCommit: de40ad0
查看了阿里云镜像安装成功状态
[root@localhost /]# docker info
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
buildx: Build with BuildKit (Docker Inc., v0.5.1-docker)
Server:
Containers: 2
Running: 2
Paused: 0
Stopped: 0
Images: 5
Server Version: 20.10.5
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 269548fa27e0089a8b8278fc4fc781d7f65a939b
runc version: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
init version: de40ad0
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-1160.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 1.777GiB
Name: localhost.localdomain
ID: SC6B:RPTD:QJFU:QL2T:K5QP:IXJC:KLHL:QP2C:KIYD:GS2V:5FMG:ULTH
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Registry Mirrors:
https://********.mirror.aliyuncs.com/
Live Restore Enabled: false
2021年04月03日 12点04分 2
level 12
不是
2021年04月03日 13点04分 3
level 1
用梯(子)从根本上解决问题。
2021年07月15日 03点07分 4
level 3
没墙
2021年09月11日 18点09分 5
level 1
我今天也遇到和楼主一样的问题了,楼主解决了吗,求教
2021年11月01日 14点11分 6
level 1
楼主解决了吗。。我也有这个问题了
2022年01月25日 07点01分 9
level 1
更新源就行了
2022年01月25日 11点01分 10
level 10
我已经反馈到Docker官方论坛了
2023年05月14日 10点05分 13
level 1
阿里云加速又失效了
2024年11月08日 03点11分 15
1