Remove support for config.toml version = 1

`version = 1` has been deprecated since containerd v1.5,
and replaced by `version = 2`.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2023-03-16 10:09:19 +09:00
parent e735405c15
commit a4d33a7848
5 changed files with 14 additions and 38 deletions

View File

@@ -253,7 +253,7 @@ If you want to get the configuration combined with your configuration, run `cont
containerd has two configuration versions:
- Version 2 (Recommended): Introduced in containerd 1.3.
- Version 1 (Default): Introduced in containerd 1.0. Deprecated and will be removed in containerd 2.0.
- Version 1 (Default): Introduced in containerd 1.0. Removed in containerd 2.0.
A configuration with Version 2 must have `version = 2` header, and must have
fully qualified plugin IDs in the `[plugins]` section: