mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Use sockets.DialerFromEnvironment, as is done in other places, to transparently support SOCKS proxy config from ALL_PROXY environment variable. Requires the *engine* have the ALL_PROXY env var set, which doesn't seem ideal. Maybe it should be a CLI option somehow? Only tested with push and a v2 registry so far. I'm happy to look further into testing more broadly, but I wanted to get feedback on the general idea first. Signed-off-by: Brett Higgins <brhiggins@arbor.net> |
||
|---|---|---|
| .. | ||
| auth.go | ||
| auth_test.go | ||
| config.go | ||
| config_test.go | ||
| config_unix.go | ||
| config_windows.go | ||
| endpoint_test.go | ||
| endpoint_v1.go | ||
| reference.go | ||
| registry.go | ||
| registry_mock_test.go | ||
| registry_test.go | ||
| service.go | ||
| service_v1.go | ||
| service_v2.go | ||
| session.go | ||
| types.go | ||