Skip to content
New issue

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

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

Already on GitHub? # to your account

pull docker image失败 #164

Open
striving1234 opened this issue Jul 18, 2024 · 3 comments
Open

pull docker image失败 #164

striving1234 opened this issue Jul 18, 2024 · 3 comments

Comments

@striving1234
Copy link

sudo docker pull scllovewkf/opencalib:v1
v1: Pulling from scllovewkf/opencalib
aa11c7d3aa8c: Retrying in 1 second
d9a7d8445351: Retrying in 1 second
0eaf53dd1034: Retrying in 1 second
4d01e55a3979: Waiting
2842279b3c74: Waiting
error pulling image configuration: download failed after attempts=6: dial tcp [2a03:2880:f130:83:face:b00c:0:25de]:443: i/o timeout
在使用docker拉取image时超时。

@striving1234
Copy link
Author

sudo docker pull scllovewkf/opencalib:v1
Error response from daemon: Head "https://registry-1.docker.io/v2/scllovewkf/opencalib/manifests/v1": net/http: TLS handshake timeout

@zlm646
Copy link

zlm646 commented Aug 1, 2024

@shaoxh
Copy link

shaoxh commented Feb 2, 2025

创建目录

sudo mkdir -p /etc/docker

写入配置文件

sudo tee /etc/docker/daemon.json <<-'EOF'

{

"registry-mirrors": [

	"https://docker-0.unsee.tech",

    "https://docker-cf.registry.cyou",

    "https://docker.1panel.live"

]

}

EOF

重启docker服务

sudo systemctl daemon-reload && sudo systemctl restart docker

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

No branches or pull requests

3 participants