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
相关推荐
ulias2121 天前
Linux系统中的权限问题
linux·运维·服务器
青花瓷1 天前
Ubuntu下OpenClaw的安装(豆包火山API版)
运维·服务器·ubuntu
问简1 天前
docker 镜像相关
运维·docker·容器
Dream of maid1 天前
Linux(下)
linux·运维·服务器
齐鲁大虾1 天前
统信系统UOS常用命令集
linux·运维·服务器
Benszen1 天前
Docker容器化技术实战指南
运维·docker·容器
ZzzZZzzzZZZzzzz…1 天前
Nginx 平滑升级:从 1.26.3 到 1.28.0,用户无感知
linux·运维·nginx·平滑升级·nginx1.26.3·nginx1.28.0
Hommy881 天前
【开源剪映小助手】Docker 部署
docker·容器·开源·github·aigc
一叶知秋yyds1 天前
Ubuntu 虚拟机安装 OpenClaw 完整流程
linux·运维·ubuntu·openclaw
斯普信云原生组1 天前
Prometheus 环境监控虚机 Redis 方案(生产实操版)
运维·docker·容器