Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.69 KB

ts_image_rm.md

File metadata and controls

32 lines (21 loc) · 1.69 KB
copyright lastupdated keywords subcollection content-type
years
2017, 2025
2025-01-20
registry, delete, image, tag, ibmcloud cr image-rm
Registry
troubleshoot

{{site.data.keyword.attribute-definition-list}}

Why do all the tags get deleted when I delete an image in {{site.data.keyword.registryshort}}?

{: #troubleshoot-image-rm} {: troubleshoot} {: support}

You tried to delete an image from {{site.data.keyword.registrylong}} by using the ibmcloud cr image-rm command and all the tags that referred to that image got deleted too. {: shortdesc}

You deleted an image by using the ibmcloud cr image-rm command and all the tags within the same repository that reference the image also got deleted. {: tsSymptoms}

Where multiple tags exist for the same image digest within a repository, the ibmcloud cr image-rm command removes the underlying image and all its tags. If the same image exists in a different repository or namespace, then that copy of the image is not removed. {: tsCauses}

If you want to remove a tag from an image, but leave the underlying image and any other tags, use the ibmcloud cr image-untag command. For more information, see Removing tags from images in your private repository and Deleting images from your private repository. {: tsResolve}