- linux代理
export http_proxy=http://127.0.0.1:8888
export https_proxy=http://127.0.0.1:8888
永久生效:
cat >> /path/to/file <<EOF
export http_proxy=http://127.0.0.1:8888
export https_proxy=http://127.0.0.1:8888
EOF
- docker代理
配置/etc/docker/daemon.json
{"proxies": {"http-proxy": "http://192.168.10.94:10811/","https-proxy": "http://192.168.10.94:10811/"}
}
