containerd Substitute Image Repository
You can configure one or multiple image repositories to be selected when obtaining images from the container runtime.
Value Range
Up to five image repositories can be configured, and each of them can have up to five substitute image repositories configured for them.
Default Value
The default, docker.io, is used if this parameter is left blank and the SWR image repository used as a substitute.
Modifiable
Yes
Scope
Nodes that use containerd in CCE standard and CCE Turbo clusters
Configuration Description
An image repository must be an IP address or domain name. A substitute image repository must be an IP address or domain name starting with http:// or https://.
For example, if you use the on-premises image repositories with IP addresses of http://example.com and https://example.com as the substitute repositories of the default repository docker.io, the parameter value is ["docker.io=http://example.com,https://example.com"].
Suggestions
- Add local image repositories for faster image pulling.
- Configure multiple image repositories for higher fault tolerance and availability.

If the image repository or its substitute is configured incorrectly, containers may not be able to pull the necessary image.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot