- Documentation
Volcengine Kubernetes Engine
Volcengine Container Instance
User guide
VCI Agent Sandbox
Image commit
VCI Agent Sandbox
Image commit
Image commit
This topic mainly describes the image commit feature in VCI Agent Sandbox and its usage instructions.
VCI Agent Sandbox provides the image commit capability for the container root file system (container rootfs). It allows images to be pushed to an image registry after being committed. This is suitable for periodically archiving data generated during runtime.
- VCI does not automatically clean up historical images pushed to image registries. Therefore, you need to pay attention to the image registry capacity usage.
- According to the OCI image specification, a single image can have up to 128 layers. After multiple images are committed, this limit may be triggered, which causes commit failures. We recommend that you commit images only at critical time points or periodically merge layers by rebuilding images.
- Before performing an image commit, prepare an image registry and obtain the username and password of the registry. You can use Volcano Engine CR to create an image registry. For details, see Getting started with CR.
- Configure the image registry username and password in the Secret object. For details, see Creating Secrets.
- Automatically create an image commit and generate an image cache by using the ContainerImageCommit CRD.
- If the status.phase of the CRD changes to Completed, it indicates that the image is packaged and pushed. The sample code is as follows.
Last updated: 2026.04.01 17:16:09