containerd/cmd
Akihiro Suda 42584167b7
Officially deprecate Schema 1
Schema 1 has been substantially deprecated since circa. 2017 in favor of Schema 2 introduced in Docker 1.10 (Feb 2016)
and its successor OCI Image Spec v1, but we have not officially deprecated Schema 1.

One of the reasons was that Quay did not support Schema 2 so far, but it is reported that Quay has been
supporting Schema 2 since Feb 2020 (moby/buildkit issue 409).

This PR deprecates pulling Schema 1 images but the feature will not be removed before containerd 2.0.
Pushing Schema 1 images was never implemented in containerd (and its consumers such as BuildKit).

Docker/Moby already disabled pushing Schema 1 images in Docker 20.10 (moby/moby PR 41295),
but Docker/Moby has not yet disabled pulling Schema 1 as containerd has not yet deprecated Schema 1.
(See the comments in moby/moby PR 42300.)
Docker/Moby is expected to disable pulling Schema 1 images in future after this deprecation.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-05-02 19:08:38 +09:00
..
containerd Use proto.Marshal instead of calling Marshal() on objects 2022-04-20 17:14:24 +00:00
containerd-shim Use proto.Marshal instead of calling Marshal() on objects 2022-04-20 17:14:24 +00:00
containerd-shim-runc-v1 Run go fmt with Go 1.17 2021-08-22 09:31:50 +09:00
containerd-shim-runc-v2 Restore sandboxes on daemon restart 2022-04-08 13:33:48 -07:00
containerd-stress typo fixes under cmd. 2022-03-12 11:32:31 -08:00
ctr Officially deprecate Schema 1 2022-05-02 19:08:38 +09:00
gen-manpages refactor: move from io/ioutil to io and os package 2021-09-21 09:50:38 +08:00
protoc-gen-go-fieldpath Don't generate a Go file, if that would be empty 2022-04-19 22:15:45 +00:00