问题

使用fluntd的时候,docker pull镜像失败,原因是镜像在墙外

$docker pull k8s.gcr.io/fluentd-elasticsearch:1.20
Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

解决

尝试本地先翻墙下载好镜像包,然后上传到自己的docker 仓库,再让机器下载。

设置本地docker的加速地址: https://www.jianshu.com/p/2137a0e22b40

在docker的官网上找到一个版本: https://hub.docker.com/r/dingzh/fluentd-elasticsearch-1.20

因此pull下该版本

$docker pull dingzh/fluentd-elasticsearch-1.20
$docker tag dingzh/fluentd-elasticsearch-1.20 canghong/fluentd-elasticsearch:1.20
$docker push canghong/fluentd-elasticsearch:1.20

然后在要使用的机器上下载

$docker pull canghong/fluentd-elasticsearch:1.20
$docker tag canghong/fluentd-elasticsearch:1.20 k8s.gcr.io/fluentd-elasticsearch:1.20

此时,机器上就有了k8s.gcr.io/fluentd-elasticsearch:1.20,不需要再下载了

docker pull报错:Timeout exceeded while awaiting headers解决思路相关推荐

  1. 【docker问题】Client.Timeout exceeded while awaiting headers

    在进行docker pull 拉取镜像时,出现过下面的错误: net/http: request canceled while waiting for connection (Client.Timeo ...

  2. 解决docker拉取镜像Get https://registry-1.docker.io/v2/:(Client.Timeout exceeded while awaiting headers)报错

    在拉取镜像的时候出现如上错误一般是加载的国外的镜像源,容易被墙,更换镜像源就可解决: 在daemon.json文件中添加镜像源: 使用vim /etc/docker/daemon.json命令在vim ...

  3. 解决Client.Timeout exceeded while awaiting headers报错

    在进行docker pull 拉取镜像时,出现过下面的错误: net/http: request canceled while waiting for connection (Client.Timeo ...

  4. [问题未处理]-kubernetes报错request canceled (Client.Timeout exceeded while awaiting headers)

    kubernetes 上执行journalctl -f -u kube-controller-manager node1 正常 但是node2会报错 日志偶尔有报错如下 Dec 12 14:04:29 ...

  5. http请求报错context deadline exceeded (Client.Timeout exceeded while awaiting headers)

    context deadline exceeded (Client.Timeout exceeded while awaiting headers) 原因: 目标地址不可达.网络不通导致: 出现此情况 ...

  6. windows 10中使用docker Client.Timeout exceeded while awaiting headers

    windows 10中使用docker 随着windows10在开发领域的发力,现在可以在windows中凭借ubuntu子系统,搭建docker环境. 下面叙述在windows10中进行搭建dock ...

  7. docker run出现问题(Client.Timeout exceeded while awaiting headers)

    在拉取镜像的时候报错Client.Timeout exceeded while awaiting headers 原因:延迟较大,网络连接出现问题 解决办法: dotcloud官方页面内也有不同操作系 ...

  8. 【docker问题】Client.Timeout exceeded while awaiting header

    在进行docker pull 拉取镜像时,出现过下面的错误: net/http: request canceled while waiting for connection (Client.Timeo ...

  9. 【Docker学习】【问题解决】Client.Timeout exceeded while awaiting headers

    在进行docker pull 拉取镜像时,出现过下面的错误: net/http: request canceled while waiting for connection (Client.Timeo ...

最新文章

  1. 电力竞价(广东规则)详解与代码
  2. VS2005+SQL2005 ASP.NET2.0数据库连接
  3. Javascript MVC架构之旅
  4. 用MATLAB编程正弦稳态相量图,matlab课程设计--利用MATLAB对线性电路正弦稳态特性分析...
  5. java 轮询请求接口_js调用轮询接口
  6. 使用C语言--编写人机猜数游戏
  7. 随想录(符号数据与无符号数据)
  8. python装饰器使用
  9. IO流(八)之InputStreamReader类与OutputStreamWriter类
  10. Bailian3708 1的个数【进制】
  11. 心电图数据结构化标准_自己实现一个类 JSON 数据结构
  12. 微信机器人框架【Python】
  13. 红巨星粒子Red Giant Trapcode Suite
  14. 化工企业ERP建设中设备管理的重要性
  15. 高德地图开放平台——行政区划分DistrictSearch 准确定位区域,指定某一城市的行政区
  16. 母亲节祝福html源码,有创意的母亲节祝福语大全
  17. 中国电信提前批(已offer)
  18. 微信小程序注册流程图文详解
  19. C语言C++编程学习:排序原理分析
  20. 佛教、道教、基督教的几个问题比较

热门文章

  1. SpringBoot 接口数据加解密技巧,so easy!
  2. 撑不住了,豆瓣用户需要实名制了
  3. 向阅读致敬!微信读书产品设计策略推导
  4. python行业中性_【量化课堂】因子研究系列之四 -- 市值与行业的中性化
  5. 天津专升本应届生学信网学籍在线验证报告查询下载操作步骤
  6. 医美整形机构业务流程讲解
  7. Android高手笔记 - 网络优化
  8. 游戏手柄之自定义按钮控制海龟
  9. 一个简单的BitTorrent客户端实现(六):peer manager和peer实现
  10. HLS视频服务器SRS简介