- Documentation
Container Registry
Container Registry (CR)
User guide
Distribution acceleration
Image lazy loading
Creating conversion rules for image lazy loading
Image lazy loading
Creating conversion rules for image lazy loading
Creating conversion rules for image lazy loading
You can use image lazy loading to convert images to the Nydus format. This enables containers to start without downloading the entire image and to load only the data actually used on demand. This can reduce container startup time to seconds. After you create a conversion rule, the system can automatically convert a pushed image to the Nydus format. This topic describes how to create an image conversion rule in CR for image lazy loading.
warning
- This operation is only applicable to Standard Edition instances.
- Images larger than or equal to 60 GiB cannot be automatically converted via conversion rules. Manually convert such images offline, and then push them to CR for use.
- Using this feature incurs additional image storage costs.
- Converting images for lazy loading takes time. We recommend configuring the conversion policy in advance and allowing sufficient time for the conversion to avoid affecting the service release date. For example, converting a 40 GiB image takes approximately 30 minutes.
This topic describes how to create a conversion rule for image lazy loading based on Container Registry. For other operations related to lazy loading, see Lazy loading usage procedure. - Log in to the target instance.
- Select the target region in the top navigation bar.
- In the left navigation pane, click Instance list. Select an entry point depending on your instance type:
- Standard instance: Click Standard instance. Find the target instance and click Enter instance.
- Proxy repository: Click Proxy cache. Click the target domain name to enter the instance details page.
- On the Standard Edition instance details page, select Distribution acceleration > Image lazy loading in the left navigation bar.
- On the Image lazy loading page, click Create image lazy loading conversion rule.
- Configure the parameters of the image lazy loading conversion rule.
warning
OCI artifact types that do not support conversion will not be converted even if they match a conversion rule. For example, Helm Chart is of the Nydus type, so conversion is not supported.
- Click Confirm to complete creation.
Results
- After creation is complete, you can view the generated conversion rule records on the Image lazy loading page.
- After a conversion task is complete, you can view the converted Nydus image in the OCI artifact repository.
Last updated: 2026.09.23 14:37:23