docker/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
auth_test.go
config.go
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
types.go