Error response from daemon: failed to resolve reference “docker.io/library/redis:7“

2025博客之星年度评选已开启 10w+人浏览 3.6k人参与

在安装langfuse的过程中,遇到错误如下:

“Error response from daemon: failed to resolve reference "docker.io/library/redis:7": failed to do request: Head "https://registry-1.docker.io/v2/library/redis/manifests/7": dialing registry-1.docker.io:443 container via direct connection because Docker Desktop has no HTTPS proxy: connecting to registry-1.docker.io:443: dial tcp [2a03:2880:f12c:83:face:b00c:0:25de]:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”

截图如下:

执行ping命令: 

ping registry-1.docker.io

结果显示:

向DeepSeek提问,提供的答复也基本上没有什么能够解决问题的,部分解决方案如下:

最后找到了解决方案,如下:

打开Docker的UI,在Setting-> Docker Engine,将输入框的内容改为如下:

 {
  "builder": {
    "gc": {
      "defaultKeepStorage": "20GB",
      "enabled": true
    }
  },
 
  "features": {
    "buildkit": true
  },
  "registry-mirrors": [
    "https://dockerpull.pw",
    "https://dockerhub.icu",
    "https://hub.rat.dev",
    "https://register.librax.org",
    "https://docker-0.unsee.tech",
    "https://docker-cf.registry.cyou",
    "https://docker.1panel.live"
  ],
  "dns":[
     "8.8.8.8",
     "114.114.114.114"
  ]

}

如图所示:

修改之后,点击【

然后再执行docker compose up命令:

再去docker的界面查看,已经安装成功:

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值