moby--moby/registry
Sebastiaan van Stijn 6699afa549 registry: allow "allow-nondistributable-artifacts" for Docker Hub
Previously, Docker Hub was excluded when configuring "allow-nondistributable-artifacts".
With the updated policy announced by Microsoft, we can remove this restriction;
https://techcommunity.microsoft.com/t5/containers/announcing-windows-container-base-image-redistribution-rights/ba-p/3645201

There are plans to deprecated support for foreign layers altogether in the OCI,
and we should consider to make this option the default, but as that requires
deprecating the option (and possibly keeping an "opt-out" option), we can look
at that separately.

(cherry picked from commit 30e5333ce3)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
2022-10-17 15:12:13 -07:00
..
resumable bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
auth.go registry.loginV2(): minor cleanup 2020-10-29 22:26:57 +01:00
auth_test.go registry: remove TestSameAuthDataPostSave 2020-10-28 14:06:40 +01:00
config.go registry: use consts for default registry 2020-10-28 14:06:28 +01:00
config_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
config_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
config_windows.go registry: fix mtls config dir passing 2020-05-14 12:02:09 -07:00
endpoint_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
endpoint_v1.go registry: trimV1Address(): simplify trimming trailing slash 2022-08-17 19:02:54 +02:00
errors.go registry: remove v1 code not related to searching 2020-10-28 15:23:27 +01:00
registry.go registry: fix mtls config dir passing 2020-05-14 12:02:09 -07:00
registry_mock_test.go registry: normalize comment formatting 2019-11-27 15:45:23 +01:00
registry_test.go registry: remove v1 code not related to searching 2020-10-28 15:23:27 +01:00
service.go registry: minor cleanup in search code 2020-10-28 15:24:50 +01:00
service_v2.go registry: allow "allow-nondistributable-artifacts" for Docker Hub 2022-10-17 15:12:13 -07:00
session.go registry: remove v1 code not related to searching 2020-10-28 15:23:27 +01:00
types.go Add canonical import comment 2018-02-05 16:51:57 -05:00