docker.io连接超时的处理,用代理网站

docker pull的时候会超时:

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)

这时可以找一些代理网站,比如

复制代码
https://docker.zhai.cm
https://a.ussh.net
https://docker.m.daocloud.io

然后把代理网站名加到镜像前面,就可能可以了,例如:

复制代码
docker pull docker.zhai.cm/semitechnologies/weaviate:latest

注意,这时运行的命令也要加上代理网站名:

复制代码
docker run -d -p 8080:8080 --name weaviate   -e AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED=true   -e PERSISTENCE_DATA_PATH="./data"   docker.zhai.cm/semitechnologies/weaviate:latest
相关推荐
白菜欣5 小时前
Linux — 进程控制
android·linux·运维
JoneBB6 小时前
ABAP Webservice连接
运维·开发语言·数据库·学习
Tolalal6 小时前
Vmware Ubuntu虚拟机扩容
linux·运维·ubuntu
修己xj7 小时前
别再让Docker占满你的硬盘!一篇搞定docker system所有命令
docker
咚为7 小时前
比AccessLog更全面的原生Nginx 日志记录
运维·nginx·junit
我星期八休息7 小时前
Linux系统编程—基础IO
linux·运维·服务器·c语言·c++·人工智能·算法
a752066287 小时前
零基础实操:小龙虾 AI OpenClaw 接入 Kimi 详细步骤
运维·服务器
Goldbioinformatics8 小时前
Windows版Claude Cowork启动Linux问题
linux·运维·windows
念恒123068 小时前
Ext系列文件系统(下)
linux·运维·服务器