3月 052015
 

问题

当存在 http_proxy 时, 如下命令会有问题:

原因:

docker 和 docker -d 之间的通信走的是http协议,而且会默认参考 http_proxy 环境变量(go程序默认如此)

解决办法:

  1. 去掉http_proxy

     
  2. 添加no_proxy环境变量

     

参考:https://github.com/tmatilai/vagrant-proxyconf/issues/109

 

 Posted by at 下午 12:08

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

(required)

(required)

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据