moby--moby/registry
Sebastiaan van Stijn 30e5333ce3
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>
2022-10-16 01:08:49 +02:00
..
resumable refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
auth.go registry: use types/registry.AuthConfig 2022-07-29 23:05:20 +02:00
auth_test.go registry: use types/registry.AuthConfig 2022-07-29 23:05:20 +02: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-09-28 01:58:52 +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: use types/registry.AuthConfig 2022-07-29 23:05:20 +02:00
service.go registry: use types/registry.AuthConfig 2022-07-29 23:05:20 +02:00
service_v2.go registry: allow "allow-nondistributable-artifacts" for Docker Hub 2022-10-16 01:08:49 +02:00
session.go registry: use types/registry.AuthConfig 2022-07-29 23:05:20 +02:00
types.go registry: remove unneeded alias for api/types/registry import 2022-03-17 17:12:19 +01:00