From 11af2f9a4ff97f979661c960826f5f98887bbc36 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani <45800463+rchincha@users.noreply.github.com> Date: Tue, 11 Feb 2025 10:43:04 -0800 Subject: [PATCH] docs: containerd can mirror from zot (#191) Add a small article to show example configuration Signed-off-by: Ramkumar Chinchani --- docs/articles/containerd.md | 14 ++++++++++++++ mkdocs.yml | 1 + 2 files changed, 15 insertions(+) create mode 100644 docs/articles/containerd.md diff --git a/docs/articles/containerd.md b/docs/articles/containerd.md new file mode 100644 index 0000000..a140f38 --- /dev/null +++ b/docs/articles/containerd.md @@ -0,0 +1,14 @@ +# [_containerd_](https://containerd.io/) Mirroring From _zot_ + +> :point_right: _containerd_ supports registry mirroring and _zot_ can be used as an upstream registry to mirror from. + +If your images are in a repository named _docker_ in the _zot_ registry and you +want _containerd_ to pull and mirror images from this repository, then your +_containerd_ configuration would look like the following. Note that _/v2_ is +required for this to work. + + +``` +[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"] +endpoint = ['https://:8080/v2/docker'] +``` diff --git a/mkdocs.yml b/mkdocs.yml index fbc2e10..0808875 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -133,5 +133,6 @@ nav: - Benchmarking with zb: articles/benchmarking-with-zb.md - Performance Profiling: articles/pprofiling.md - Using kind for Deployment Testing: articles/kind-deploy.md + - _containerd_ Mirroring From _zot_: articles/containerd.md extra_css: - stylesheets/custom.css