Clarify that plugin names are long in version = 2

Otherwise it's confusing for readers who just need quick reference
for plugin configurations.

Signed-off-by: Dave Syer <dsyer@pivotal.io>
This commit is contained in:
Dave Syer
2020-04-27 08:19:44 +01:00
committed by Dave Syer
parent 4ea4ca99c7
commit 5ac8515bf0
2 changed files with 3 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ With containerd, `docker.io` is the default image registry. You can also set up
To configure image registries create/modify the `/etc/containerd/config.toml` as follows:
```toml
# Config file is parsed as version 1 by default.
# To use the long form of plugin names set "version = 2"
[plugins.cri.registry.mirrors]
[plugins.cri.registry.mirrors."docker.io"]
endpoint = ["https://registry-1.docker.io"]