【发布时间】:2013-10-13 04:24:39
【问题描述】:
我正在尝试在 EC2 VM 实例中运行 docker。该实例位于 http 代理后面。 据我所知, docker 安装一切正常。
这里是实例信息
Linux ip-X-X-X-X 3.8.0-31-generic #46~precise1-Ubuntu SMP Wed Sep 11 18:21:16 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
我的docker版本是
Docker version 0.6.3, build b0a49a3
当我尝试运行一个简单的 docker 命令时,它会挂起很长时间。
$sudo docker run -i -t ubuntu /bin/bash
Unable to find image 'ubuntu' (tag: latest) locally
Pulling repository ubuntu
我感觉这与我的 HTTP 代理设置有关。
我尝试以不同的方式设置代理。
例如基于this我试过了,但还是不行。
$sudo HTTP_PROXY=http://proxy.xyz.com:8080 docker run -i -t ubuntu /bin/bash
Unable to find image 'ubuntu' (tag: latest) locally
Pulling repository ubuntu
知道我在这里缺少什么吗?
【问题讨论】:
标签: proxy amazon-ec2 docker