docker 容器上网设置

# 检查网络
curl www.baidu.com
# 设置代理 代理地址自己配置
export http_proxy="http://192.168.1.1:8080"
export https_proxy="http://192.168.1.1::8080"
原文地址:https://www.cnblogs.com/long5683/p/13488816.html