在docker中安装 zendesk/maxwell 失败,解决方法

18 篇文章 1 订阅

1、拉取镜像失败

[root@localhost docker]# docker pull zendesk/maxwell
Using default tag: latest
Error response from daemon: Get "https://registry-1.docker.io/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

2、一键设置镜像加速:修改文件 /etc/docker/daemon.json(如果不存在则创建)

{
  "registry-mirrors": ["https://zvpiwwx5.mirror.aliyuncs.com","https://docker.m.daocloud.io","https://docker.1panel.live","https://dislabaiot.xyz","https://dockerpull.com"]
}
"https://zvpiwwx5.mirror.aliyuncs.com",
"https://docker.m.daocloud.io",
"https://docker.1panel.live",
"https://dislabaiot.xyz",
"https://dockerpull.com"

3、保存好之后 执行以下两条命令

[root@localhost docker]# sudo systemctl daemon-reload
[root@localhost docker]# sudo systemctl restart docker
[root@localhost docker]# docker pull zendesk/maxwell
Using default tag: latest
latest: Pulling from zendesk/maxwell
1efc276f4ff9: Pull complete 
a2f2f93da482: Pull complete 
12cca292b13c: Pull complete 
69e15dccd787: Pull complete 
79219af6aa7c: Pull complete 
f39f1bdf1c84: Pull complete 
3261018f1785: Pull complete 
4f4fb700ef54: Pull complete 
be1353da9f00: Pull complete 
627d862c87f8: Pull complete 
Digest: sha256:68d51e27b6de2315ea710c0fe88972d4bd246ffb2519c82a49aa90a980d6cf64
Status: Downloaded newer image for zendesk/maxwell:latest
docker.io/zendesk/maxwell:latest

在这里插入图片描述
https://dockerpull.com/
https://dockerproxy.cn/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值