mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix proxy
This commit is contained in:
parent
10ef4f7f39
commit
06b585ce8a
1 changed files with 1 additions and 0 deletions
|
@ -479,6 +479,7 @@ func NewRegistry(root string) *Registry {
|
|||
|
||||
httpTransport := &http.Transport{
|
||||
DisableKeepAlives: true,
|
||||
Proxy: http.ProxyFromEnvironment,
|
||||
}
|
||||
|
||||
r := &Registry{
|
||||
|
|
Loading…
Reference in a new issue