copyright | lastupdated | keywords | subcollection | content-type | ||
---|---|---|---|---|---|---|
|
2025-01-20 |
registry, delete, image, tag, ibmcloud cr image-rm |
Registry |
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, 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}