Skip to content

Commit

Permalink
Support proxy environment for docker client
Browse files Browse the repository at this point in the history
Signed-off-by: PM Extra <[email protected]>
  • Loading branch information
PMExtra authored May 17, 2024
1 parent bb09955 commit 44ba460
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 @@ -88,6 +88,7 @@ func tlsConfig(sys *types.SystemContext) (*http.Client, error) {

func httpConfig() *http.Client {
return &http.Client{
Proxy: http.ProxyFromEnvironment,
Transport: &http.Transport{
TLSClientConfig: nil,
},
Expand Down

0 comments on commit 44ba460

Please sign in to comment.