moby--moby/registry
Sebastiaan van Stijn aaa8f96cc9 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.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 30e5333ce3)
2022-10-17 15:04:59 -07:00
..
resumable refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
auth.go registry: remove unused fallbackError 2022-03-18 15:09:16 +01:00
auth_test.go registry: remove unneeded alias for api/types/registry import 2022-03-17 17:12:19 +01:00
config.go registry: remove dependency on rootlesskit, add `SetCertsDir()` 2022-03-25 16:21:45 +01:00
config_test.go runconfig, oci, image, layer, distribution: fix empty-lines (revive) 2022-10-01 00:01:14 +02:00
config_unix.go registry: remove dependency on rootlesskit, add `SetCertsDir()` 2022-03-25 16:21:45 +01:00
config_windows.go all: replace strings.Replace with strings.ReplaceAll 2022-05-09 19:45:40 +08:00
endpoint_test.go registry: un-export V1Endpoint and NewV1Endpoint() 2022-03-17 17:09:00 +01:00
endpoint_v1.go registry: minor improvements and cleanup 2022-03-17 17:12:21 +01:00
errors.go registry: return "errdefs" compatible error types 2022-03-17 17:12:13 +01:00
registry.go registry: defaultService: use sync.RWMutex 2022-03-17 17:12:23 +01:00
registry_mock_test.go registry: remove unneeded alias for api/types/registry import 2022-03-17 17:12:19 +01:00
registry_test.go registry: un-export AuthTransport() 2022-03-18 13:52:20 +01:00
service.go Merge pull request #43394 from thaJeztah/cleanup_registry_step2 2022-03-18 19:35:02 +01:00
service_v2.go registry: allow "allow-nondistributable-artifacts" for Docker Hub 2022-10-17 15:04:59 -07:00
session.go Merge pull request #43394 from thaJeztah/cleanup_registry_step2 2022-03-18 19:35:02 +01:00
types.go registry: remove unneeded alias for api/types/registry import 2022-03-17 17:12:19 +01:00