美文网首页
docker using proxy to build dock

docker using proxy to build dock

作者: zeloas | 来源:发表于2020-03-08 22:35 被阅读0次

条件

需要一个外部能够访问的http proxy
polipo 或者 其他的软件设定localaddress 为0.0.0.0 即可

方法如下

docker build image with proxy

docker build --build-arg http_proxy=http://10.239.4.80:913 --build-arg https_proxy=http://10.239.4.80:913 .

相关文章

网友评论

      本文标题:docker using proxy to build dock

      本文链接:https://www.haomeiwen.com/subject/rzdsdhtx.html