containerd_registries_mirrors is mandatory for containerd server

pull/11553/head
Mathieu Parent 2024-09-19 15:23:43 +02:00 committed by GitHub
parent 163697951c
commit 601c08e67e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -36,9 +36,10 @@ containerd_registries_mirrors:
```
containerd falls back to `https://{{ prefix }}` when none of the mirrors have the image.
This can be changed with the [`server` field](https://github.com/containerd/containerd/blob/main/docs/hosts.md#server-field):
This can be changed with the [`server` field](https://github.com/containerd/containerd/blob/main/docs/hosts.md#server-field) (this requires `containerd_use_config_path: true`):
```yaml
containerd_use_config_path: true
containerd_registries_mirrors:
- prefix: docker.io
mirrors: