docker “FATA[0162] ... connection timed out" 错误改正方法
来源:互联网 发布:汽配查询软件 编辑:程序博客网 时间:2024/06/03 21:22
在ubuntu14.04下面安装docker后,运行sudo docker run hello-world,提示下面的错误,
Unable to find image 'hello-world:latest' locally
Pulling repository hello-world
FATA[0162] Get https://index.docker.io/v1/repositories/library/hello-world/images: dial tcp 162.242.195.84:443: connection timed out
连接远程的docker库出错,判断是在内网需要使用代理。参考stackoverflow的贴子,添加代理的方法如下:
1)修改/etc/default/docker文件,把其中“export http_proxy” 那段注释打开,然后把IP地址改成代理服务器地址,
# If you need Docker to use an HTTP proxy, it can also be specified here.
export http_proxy="http://192.168.1.1:8888/"
export http_proxy="http://192.168.1.1:8888/"
2)重启docker服务,
service docker restart
附注:stackoverflow原帖链接http://stackoverflow.com/questions/23111631/cannot-download-docker-images-behind-a-proxy
0 0
- docker “FATA[0162] ... connection timed out" 错误改正方法
- mysql Connection timed out
- webservice Connection timed out
- Connection timed out: connect
- Connection timed out: connect
- Connection timed out: connect
- odac NET: Connection timed out错误的解决方法
- java.net.ConnectException: Connection timed out: connect 错误
- jdom解析xml提示Connection timed out错误
- inbound connection timed out (ORA-3136)错误诊断
- android 源码下载错误: [Errno 110] Connection timed out
- java.net.ConnectException: Connection timed out: connect 错误
- AndroidStudio1.3.1版本:Error:Connection timed out错误
- Android Studio开发中gradle connection timed out错误解决方法
- Connection timed out: connect 解决方法
- Error:Connection timed out: connect
- Error:Connection timed out: connect.
- Error:Connection timed out:connect.
- maven打包出错
- AndroidStudio集成Genymotion(模拟器)
- JS、JSP省市区切换
- android防反编译
- ATM取款机模拟——数据结构课设
- docker “FATA[0162] ... connection timed out" 错误改正方法
- Porting filesystem benchmarking tool iozone on android
- jquery 常用正则表达式验证
- android 项目中使用到的网络请求框架以及如何配置好接口URL
- how to use kvo with swift (如何在swift中使用kvo)
- java:Excel操作(poi)
- 23最大乘积子串
- 单元测试的过程
- WPF DEV控件格式化控件显示格式