error pulling image configuration: download failed after attempts=6: dial tcp 59.188.250.54

error pulling image configuration: download failed after attempts=6: dial tcp 59.188.250.54

报错如下:

解决方案 

第一种

$ export REPO=docker.m.daocloud.io

$ docker pull ${REPO}/halohub/halo:2.6.1
2.6.1: Pulling from halohub/halo
d1669123f281: Pull complete 
2ec73b48ae40: Pull complete 
64ed7897b25d: Pull complete 
eefea741bc5a: Pull complete 
f2f24d94d687: Pull complete 
48c8491958ed: Pull complete 
3979576ccfec: Pull complete 
4f4fb700ef54: Pull complete 
dfee92811a23: Pull complete 
159e8e7d59d2: Pull complete 
Digest: sha256:8303d0580bfc0e1aea100b4dee3232fbea0e9a2245cdd100999f4fc87bea22e3
Status: Downloaded newer image for docker.m.daocloud.io/halohub/halo:2.6.1
docker.m.daocloud.io/halohub/halo:2.6.1

最后更新一下tag:

docker tag b1fea9deec18 halohub/halo:2.6.1

第二种方法:

vim /etc/docker/daemon.json

修改为 :一下内容,然后保存并退出

{
  "registry-mirrors": [
    "https://registry.docker-cn.com",
    "https://docker.mirrors.ustc.edu.cn",
    "https://hub-mirror.c.163.com",
    "https://hub.uuuadc.top",
    "https://docker.anyhub.us.kg",
    "https://dockerhub.jobcher.com",
    "https://dockerhub.icu",
    "https://docker.ckyl.me",
    "https://docker.awsl9527.cn",
    "https://mirror.baidubce.com"
  ]
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值