以/bin/bash 形式进入容器:
【设置http 及https代理】,如下:
export http_proxy=http://172.16.0.20:3128
export https_proxy=https://172.16.0.20:3128
要取消该设置:
unset http_proxy
unset https_proxy
以/bin/bash 形式进入容器:
【设置http 及https代理】,如下:
export http_proxy=http://172.16.0.20:3128
转载于:https://www.cnblogs.com/20170722-kong/p/9318322.html