This document describes how to delete custom images.
Supports and Limits
Before deleting custom images, please note the following items:
After deleting a custom image, you will no longer be able to create instances from it, but it will not affect instances that have already been launched. If you need to delete all instances launched from this image, refer to Reclaim Instances or Terminate/Return Instances.
Shared images cannot be deleted. You must first cancel all shares before deleting them. To unshare an image, refer to Unshare Custom Images.
Only custom images can be deleted; public images and shared images cannot be actively removed.
Instructions
Deleting via the Console
Deleting via API
1. Log in to the CVM console and select Image on the left sidebar.
2. Select the Custom Images tab to access the custom image management page.
3. Select the method to delete custom images based on actual needs.
Delete a single image: In the list, locate the custom image you want to delete, and select More > Delete. As shown below:
Delete multiple images: Select all custom images you want to delete from the list and click Delete at the top. As shown in the image below:
4. In the pop-up prompt, click Confirm.
If the image cannot be deleted, the reason will be displayed.
Users can use the DeleteImages API to share images. For more information, see Delete Images.