1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/registry
Richard 13deed3801 Registry v2 mirror support.
The v2 registry will act as a pull-through cache, and needs to be
handled differently by the client to the v1 registry mirror.

See docker/distribution#459 for details

Configuration

Only one v2 registry can be configured as a mirror. Acceptable configurations
in this chanage are: 0...n v1 mirrors or 1 v2 mirror. A mixture of v1 and v2
mirrors is considered an error.

Pull

If a v2 mirror is configured, all pulls are redirected to that mirror. The
mirror will serve the content locally or attempt a pull from the upstream mirror,
cache it locally, and then serve to the client.

Push

If an image is tagged to a mirror, it will be pushed to the mirror and be
stored locally there. Otherwise, images are pushed to the hub. This is
unchanged behavior.

Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2015-05-26 11:08:19 -07:00
..
auth.go Add transport package to support CancelRequest 2015-05-18 23:31:42 -04:00
auth_test.go Move CLI config processing out from under registry dir 2015-04-23 10:18:38 -07:00
authchallenge.go Adds support for v2 registry login 2015-01-15 14:04:14 -08:00
config.go Registry v2 mirror support. 2015-05-26 11:08:19 -07:00
config_test.go Deprecating ResolveRepositoryName 2015-01-08 20:14:58 +00:00
endpoint.go Add transport package to support CancelRequest 2015-05-18 23:31:42 -04:00
endpoint_test.go Add transport package to support CancelRequest 2015-05-18 23:31:42 -04:00
registry.go Windows: fix registry filepath and location 2015-05-19 10:58:45 -07:00
registry_mock_test.go Merge pull request #11788 from reikani/pchoi 2015-03-26 23:55:50 -07:00
registry_test.go Add transport package to support CancelRequest 2015-05-18 23:31:42 -04:00
service.go Add transport package to support CancelRequest 2015-05-18 23:31:42 -04:00
session.go registry: fix auth bug 2015-05-21 16:53:22 -04:00
session_v2.go Fix wording in comment 2015-05-20 18:03:46 +02:00
token.go Add transport package to support CancelRequest 2015-05-18 23:31:42 -04:00
types.go Remove engine.Table from docker search and fix missing field 2015-04-03 11:27:30 -07:00