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

拉取docker镜像网络超时,是否有国内镜像 #2255

Open
1 task done
SDAIer opened this issue Aug 20, 2024 · 2 comments
Open
1 task done

拉取docker镜像网络超时,是否有国内镜像 #2255

SDAIer opened this issue Aug 20, 2024 · 2 comments
Labels
deployment question Question from deployment

Comments

@SDAIer
Copy link

SDAIer commented Aug 20, 2024

⚠️ 搜索是否存在类似issue

  • 我已经搜索过issues和disscussions,没有发现相似issue

总结

拉取docker镜像网络超时,是否有国内镜像

举例

No response

动机

No response

@6vision 6vision added deployment question Question from deployment and removed status: needs check labels Aug 22, 2024
@6vision
Copy link
Collaborator

6vision commented Aug 22, 2024

暂时没有,有好的解决办法,可以在此分享交流~

@Yeadon8888
Copy link

服务器的话执行这个命令换源

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": [
"https://do.nark.eu.org/",
"https://dc.j8.work/",
"https://docker.m.daocloud.io/",
"https://dockerproxy.com/",
"https://docker.mirrors.ustc.edu.cn/",
"https://docker.nju.edu.cn/"
]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

本地挂个代理就行

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

No branches or pull requests

3 participants