Delete image
Delete image
Own image can:
- delete-image-from-storage — the image will be completely deleted and will stop being paid for;
- or disable-access-to-image if the image has been configured for access between projects.
Delete image from storage
carefully
Once deleted, the image cannot be restored. If the image is configured for access between projects, the image will be deleted in all projects.
- Control panel
- OpenStack CLI
- In Control Panel, go to Cloud Platform → Objects.
- If the image has configured access between projects, open the projects menu (name of the current project) and select the source project where the image was originally loaded.
- From the menu ( ) of the image, select Delete Image.
- Enter the name of the image to confirm the deletion.
- Press Delete.
-
Delete the image:
openstack image delete <image>
Specify
<image>
— image name or ID, can be viewed withopenstack image list --private
.
Disable image access in the project
If the image has configured access between projects, you can disable access to it in the destination project. After disabling, the image will be available in the source project and will not be deleted from the image repository. Image storage in the source project will continue to be paid using cloud platform payment model.
- In Control Panel, go to Cloud Platform → Objects.
- Open the projects menu (name of the current project) and select the destination project for which image access has been configured.
- From the menu ( ) of the image, select Deny.