edit ${home}/.docker/config.json
{
"proxies": {
"default": {
"httpProxy": "http://proxy.example.com:3128",
"httpsProxy": "https://proxy.example.com:3129",
"noProxy": "*.test.example.com,.example.org,127.0.0.0/8"
}
}
}
username: root password: secret
git config --global user.name "Your Name" git config --global user.email "[email protected]" git config --global http.proxy http://username:password@proxyserver:port git config --global https.proxy https://username:password@proxyserver:port
git config --global --list
export HTTP_PROXY=http://username:password@proxyserver:port export HTTPS_PROXY=http://username:password@proxyserver:port