HTTP proxy with Docker
Content might be outdated
Use HTTP proxy for building Docker images
1export HTTPS_PROXY=https://proxy-server.technonotes.no:8080
Use HTTP proxy from inside docker images (without configuring it inside each image)
$HOME/.docker/config.json
1{
2 "proxies":
3 {
4 "default":
5 {
6 "httpProxy": "proxy-server.technonotes.no:8080",
7 "noProxy": "*.test.example.com,.example2.com"
8 }
9 }
10}