Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2762820
  • 博文数量: 587
  • 博客积分: 6356
  • 博客等级: 准将
  • 技术积分: 6410
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-23 10:54
个人简介

器量大者,福泽必厚

文章分类

全部博文(587)

文章存档

2019年(3)

2018年(1)

2017年(29)

2016年(39)

2015年(66)

2014年(117)

2013年(136)

2012年(58)

2011年(34)

2010年(50)

2009年(38)

2008年(16)

分类: LINUX

2015-09-01 15:04:47

 lookup registry-1.docker.io: no such host 
场景:执行docker pull时有保持如下:

原因:GWF block掉了
解决方法:
找1台国外的机器,ping下这个域名,如下:

在本地的/etc/hosts中添加一条记录,
52.5.55.90   registry-1.docker.io
然后就可以了!见附件
[root@docker log]# docker  pull busybox
latest: Pulling from busybox
cf2616975b4a: Pull complete 
6ce2e90b0bc7: Pull complete 
8c2e06607696: Already exists 
busybox:latest: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.
Digest: sha256:38a203e1986cf79639cfb9b2e1d6e773de84002feea2d4eb006b52004ee8502d
Status: Downloaded newer image for busybox:latest
阅读(9560) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~