containerd/cmd/ctr/commands
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
..
containers Use typeurl.Any instead of github.com/gogo/protobuf/types.Any 2022-03-24 20:50:07 +00:00
content Officially deprecate Schema 1 2022-05-02 19:08:38 +09:00
events ctr events: do not exit on an error 2020-01-29 13:10:16 +09:00
images fix: ctr images mount with snapshotter option can't get snapshotter 2022-03-23 23:12:54 +08:00
install Add optional install path 2018-09-11 10:36:00 -04:00
leases ctr: Unify the delete subcommand alias 2022-01-11 16:21:26 +08:00
namespaces feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
oci feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
plugins Remove all gogoproto extensions 2022-04-20 07:23:28 +00:00
pprof feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
run Merge pull request #6809 from jterry75/main 2022-04-29 16:39:52 +01:00
sandboxes [sandbox] Cleanup interfaces 2022-04-08 13:34:50 -07:00
shim Move runtime v2 proto 2022-04-19 17:59:33 -07:00
snapshots ctr: Unify the delete subcommand alias 2022-01-11 16:21:26 +08:00
tasks Use typeurl.Any instead of github.com/gogo/protobuf/types.Any 2022-03-24 20:50:07 +00:00
version adding go version to client description 2019-10-06 13:38:51 +02:00
client.go implement ctr -connect-timeout 2019-09-16 13:56:53 +02:00
cni.go fix: ctr run --cni get failed 2022-03-15 15:46:29 +08:00
commands_unix.go Implement --device idType://id for ctr run on Windows 2022-03-12 08:16:43 +11:00
commands_windows.go Add ctr support for CPUMax and CPUShares 2022-04-28 13:17:16 -07:00
commands.go cri: support blockio class in pod and container annotations 2022-04-29 11:44:09 +03:00
resolver.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
signals_linux.go Ignore SIGURG signals in signal forwarder 2020-09-04 16:19:31 -07:00
signals_notlinux.go Run go fmt with Go 1.17 2021-08-22 09:31:50 +09:00
signals.go Ignore SIGURG signals in signal forwarder 2020-09-04 16:19:31 -07:00
utils.go Implemented image encryption/decryption libraries and ctr commands 2019-07-17 15:19:58 -04:00