1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/registry
Noah Treuhaft 67fdf574d5 Add daemon option to push foreign layers
The --allow-nondistributable-artifacts daemon option specifies
registries to which foreign layers should be pushed.  (By default,
foreign layers are not pushed to registries.)

Additionally, to make this option effective, foreign layers are now
pulled from the registry if possible, falling back to the URLs in the
image manifest otherwise.

This option is useful when pushing images containing foreign layers to a
registry on an air-gapped network so hosts on that network can pull the
images without connecting to another server.

Signed-off-by: Noah Treuhaft <noah.treuhaft@docker.com>
2017-05-16 14:36:36 -07:00
..
auth.go fix infinite recursion 2016-11-18 10:57:50 -02:00
auth_test.go
config.go Add daemon option to push foreign layers 2017-05-16 14:36:36 -07:00
config_test.go Add daemon option to push foreign layers 2017-05-16 14:36:36 -07:00
config_unix.go
config_windows.go
endpoint_test.go
endpoint_v1.go
registry.go
registry_mock_test.go Use distribution reference 2017-02-07 11:08:37 -08:00
registry_test.go Add daemon option to push foreign layers 2017-05-16 14:36:36 -07:00
service.go Add daemon option to push foreign layers 2017-05-16 14:36:36 -07:00
service_v1.go Disable v1 protocol for the default registry 2016-11-11 00:23:25 -08:00
service_v1_test.go Disable v1 protocol for the default registry 2016-11-11 00:23:25 -08:00
service_v2.go Add daemon option to push foreign layers 2017-05-16 14:36:36 -07:00
session.go Use distribution reference 2017-02-07 11:08:37 -08:00
types.go Use distribution reference 2017-02-07 11:08:37 -08:00