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 Remove Windows-specific default registry definitions 2016-03-10 18:33:14 -08:00
config_windows.go Remove Windows-specific default registry definitions 2016-03-10 18:33:14 -08:00
endpoint_test.go
endpoint_v1.go registry: endpoint_v1: fix outdated comment 2016-03-16 12:53:11 +01:00
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 daemon: update: check len inside public function 2016-03-15 17:24:25 +01:00
service.go Add default serveraddress value in remote API /auth 2016-04-22 20:00:47 -07:00
service_v1.go
service_v2.go Merge pull request #20970 from dmcgowan/login-oauth 2016-03-14 15:49:44 +01:00
session.go *: fix response body leaks 2016-03-16 17:15:42 +01:00
types.go