Skip to content

Commit

Permalink
Set ProxyFromEnvironment for tlsConfig
Browse files Browse the repository at this point in the history
Signed-off-by: PENG MIN <[email protected]>

Signed-off-by: PM Extra <[email protected]>
  • Loading branch information
PMExtra authored Aug 23, 2024
1 parent 022e607 commit 490fc08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/daemon/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func tlsConfig(sys *types.SystemContext) (*http.Client, error) {

return &http.Client{
Transport: &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: tlsc,
},
CheckRedirect: dockerclient.CheckRedirect,
Expand Down

0 comments on commit 490fc08

Please sign in to comment.