Skip to content

Commit 44ba460

Browse files
authored
Support proxy environment for docker client
Signed-off-by: PM Extra <pm@jubeat.net>
1 parent bb09955 commit 44ba460

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker/daemon/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ func tlsConfig(sys *types.SystemContext) (*http.Client, error) {
8888

8989
func httpConfig() *http.Client {
9090
return &http.Client{
91+
Proxy: http.ProxyFromEnvironment,
9192
Transport: &http.Transport{
9293
TLSClientConfig: nil,
9394
},

0 commit comments

Comments
 (0)