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
相关推荐
Lupino4 小时前
我把 OpenClaw 装到服务器上后,才明白它真正该装在哪里(实战复盘)
运维
Lupino7 小时前
别再只聊 AI 写代码了:技术负责人要把“变更治理”提到第一优先级
python·docker·容器
Java陈序员2 天前
轻量强大!一款现代化的 Kubernetes 集群管理与监控工具!
云原生·容器·kubernetes
爱吃橘子橙子柚子3 天前
3CPU性能排查总结(超详细)【Linux性能优化】
运维·cpu
Sheffield4 天前
Docker的跨主机服务与其对应的优缺点
linux·网络协议·docker
Sheffield4 天前
Alpine是什么,为什么是Docker首选?
linux·docker·容器
马艳泽4 天前
win10下运行Start Broker and Proxy报错解决
docker
舒一笑5 天前
程序员效率神器:一文掌握 tmux(服务器开发必备工具)
运维·后端·程序员
NineData5 天前
数据库管理工具NineData,一年进化成为数万+开发者的首选数据库工具?
运维·数据结构·数据库
用户13573999256605 天前
Windows 从 0 搭建 WSL2 原生 AI 开发环境:Codex + Docker + VSCode
docker