containerd/core/remotes/docker
Akihiro Suda 99721c27e1
Disable the support for Schema 1 images
Schema 1 (`application/vnd.docker.distribution.manifest.v1+prettyjws`) has been
officially deprecated since containerd v1.7 (PR 6884).

We have planned to remove the support for Schema 1 in containerd v2.0, but this
removal may still surprise some users.
So, in containerd v2.0 we will just disable it by default.

The support for Schema 1 can be still enabled by setting an environment variable
`CONTAINERD_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE=1`, however, this workaround
will be completely removed in containerd v2.1.

Schema 2 was introduced in Docker 1.10 (Feb 2016), so most users should
have been already using Schema 2 or OCI.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-02-15 11:11:35 +09:00
..
auth remotes/docker/authorizer.go: invalidate auth tokens when they expire. 2024-01-23 09:58:57 -08:00
config Switch to new errdefs package 2024-01-25 22:18:45 -08:00
schema1 Disable the support for Schema 1 images 2024-02-15 11:11:35 +09:00
authorizer.go Merge pull request #8735 from iain-macdonald/iain-macdonald/issue-6377 2024-01-29 16:18:56 +00:00
converter_fuzz.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
converter.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
errcode.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
errdesc.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
fetcher_fuzz.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
fetcher_test.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
fetcher.go Switch to new errdefs package 2024-01-25 22:18:45 -08:00
handler_test.go Move reference to pkg/reference 2024-01-17 09:55:58 -08:00
handler.go Move reference to pkg/reference 2024-01-17 09:55:58 -08:00
httpreadseeker.go Switch to new errdefs package 2024-01-25 22:18:45 -08:00
pusher_test.go Switch to new errdefs package 2024-01-25 22:18:45 -08:00
pusher.go Switch to new errdefs package 2024-01-25 22:18:45 -08:00
registry_test.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
registry.go Move remotes to core/remotes 2024-01-17 09:52:21 -08:00
resolver_test.go Switch to new errdefs package 2024-01-25 22:18:45 -08:00
resolver.go Switch to new errdefs package 2024-01-25 22:18:45 -08:00
scope_test.go Move reference to pkg/reference 2024-01-17 09:55:58 -08:00
scope.go Move reference to pkg/reference 2024-01-17 09:55:58 -08:00
status.go Switch to new errdefs package 2024-01-25 22:18:45 -08:00