Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 426 Bytes

docker-for-windows-proxy.md

File metadata and controls

19 lines (15 loc) · 426 Bytes

Edit file %userprofile%\.docker\machine\machines\default\config.json, and enter proxy address and port. Create the file if it is not existing.

{
"iptables": false,
    "HostOptions": {
        "EngineOptions": {
            "Env": [
                "HTTP_PROXY=http://10.1.1.1:3128", 
                "HTTPS_PROXY=http://10.1.1.1:3128", 
                "NO_PROXY=127.0.0.1"
            ]
        } 
    }
}