Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用起来不是很稳定 #67

Open
Vito-fly opened this issue Dec 1, 2024 · 1 comment
Open

用起来不是很稳定 #67

Vito-fly opened this issue Dec 1, 2024 · 1 comment

Comments

@Vito-fly
Copy link

Vito-fly commented Dec 1, 2024

[test@dockerhost ~]$ cat /etc/docker/daemon.json 
{
  "registry-mirrors": [
    "https://docker.xxx.us.kg"
  ]
  "exec-opts": ["native.cgroupdriver=systemd"]
}

[test@dockerhost ~]$ docker pull alpine:3.18
Error response from daemon: Get "https://registry-1.docker.io/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

[test@dockerhost ~]$ docker pull alpine:3.18
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)

[test@dockerhost ~]$ docker pull alpine:3.18
Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp 157.240.20.18:443: i/o timeout

[test@dockerhost ~]$ docker pull alpine:3.18
Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp 31.13.68.169:443: i/o timeout (Client.Timeout exceeded while awaiting headers)

[test@dockerhost ~]$ docker pull alpine:3.18
Error response from daemon: received unexpected HTTP status: 500 Internal Server Error

[test@dockerhost ~]$ docker pull alpine:3.18
Error response from daemon: unauthorized: authentication required

[test@dockerhost ~]$ docker pull alpine:3.18
WARNING: ⚠️ Failed to pull manifest by the resolved digest. This registry does not
  appear to conform to the distribution registry specification; falling back to
  pull by tag.  This fallback is DEPRECATED, and will be removed in a future
  release.  Please contact admins of https://docker.xxx.us.kg/. ⚠️ 

Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

@Vito-fly
Copy link
Author

Vito-fly commented Dec 1, 2024

拉 gcr.io 的镜像也有问题

[test@dockerhost ~]$ docker pull gcr.xxx.us.kg/kaniko-project/executor:debug
Error response from daemon: Head "https://gcr.xxx.us.kg/v2/kaniko-project/executor/manifests/debug": Get "https://gcr.io/v2/token?scope=repository%3Akaniko-project%2Fexecutor%3Apull&service=gcr.io": dial tcp 142.250.107.82:443: i/o timeout

[test@dockerhost ~]$ docker pull gcr.xxx.us.kg/kaniko-project/executor:debug
Error response from daemon: Head "https://gcr.xxx.us.kg/v2/kaniko-project/executor/manifests/debug": Get "https://gcr.io/v2/token?scope=repository%3Akaniko-project%2Fexecutor%3Apull&service=gcr.io": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

[test@dockerhost ~]$ docker pull gcr.xxx.us.kg/kaniko-project/executor:debug
Error response from daemon: Head "https://gcr.xxx.us.kg/v2/kaniko-project/executor/manifests/debug": Get "https://gcr.io/v2/token?scope=repository%3Akaniko-project%2Fexecutor%3Apull&service=gcr.io": context deadline exceeded

拉 其它的,比如 quay.io 、registry.k8s.io 等的镜像就没问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant