1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/registry
Brett Higgins 207027087e Respect ALL_PROXY during registry operations
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>
2016-04-25 15:08:30 -04:00
..
auth.go Correct login debug log message 2016-03-28 18:22:24 -07:00
auth_test.go
config.go 1.change validateNoSchema into validateNoScheme 2016-03-31 12:29:15 +08:00
config_test.go
config_unix.go
config_windows.go
endpoint_test.go
endpoint_v1.go
reference.go
registry.go Respect ALL_PROXY during registry operations 2016-04-25 15:08:30 -04:00
registry_mock_test.go
registry_test.go
service.go Add default serveraddress value in remote API /auth 2016-04-22 20:00:47 -07:00
service_v1.go
service_v2.go
session.go *: fix response body leaks 2016-03-16 17:15:42 +01:00
types.go