| copyright |
|
||
|---|---|---|---|
| lastupdated | 2025-10-10 | ||
| keywords | registry, delete, image, tag, ibmcloud cr image-rm | ||
| subcollection | Registry | ||
| content-type | troubleshoot |
{{site.data.keyword.attribute-definition-list}}
{: #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 and make sure that the underlying image and any other tags remain in place, 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}