File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -260,9 +260,16 @@ version = 2
260260 #
261261 # *** registry.configs and registry.mirrors that were a part of containerd 1.4
262262 # are now DEPRECATED and will only be used if the config_path is not specified.
263- config_path = " /etc/containerd/certs.d "
263+ config_path = " "
264264```
265- Here is a simple example for a default registry hosts configuration when specifying config_path:
265+
266+ ## Registry Configuration
267+
268+ Here is a simple example for a default registry hosts configuration. Set
269+ ` config_path = "/etc/containerd/certs.d" ` in your config.toml for containerd.
270+ Make a directory tree at the config path that includes ` docker.io ` as a directory
271+ representing the host namespace to be configured. Then add a ` hosts.toml ` file
272+ in the ` docker.io ` to configure the host namespace. It should look like this:
266273```
267274$ tree /etc/containerd/certs.d
268275/etc/containerd/certs.d
Original file line number Diff line number Diff line change 33This document describes the method to configure the image registry for ` containerd ` for use with the ` cri ` plugin.
44
55** * registry.mirrors and registry.configs as described in this document
6- have been DEPRECATED. As described in [ the cri config] ( ./config.md ) you
6+ have been DEPRECATED. As described in [ the cri config] ( ./config.md#registry-configuration ) you
77should now use the form
88``` toml
99[plugins ."io .containerd .grpc .v1 .cri" .registry ]
You can’t perform that action at this time.
0 commit comments