Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.81 KB

ts_image_restore.md

File metadata and controls

32 lines (21 loc) · 1.81 KB
copyright lastupdated keywords subcollection content-type
years
2017, 2024
2024-04-25
error, registry, restore, trash, image, tag, tagged image, digest, tagged image already exists, restore this image by using the digest, CRT0500E
Registry
troubleshoot

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

Why do I get an error when I'm restoring an image in {{site.data.keyword.registryshort_notm}}?

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

You want to restore an image from the {{site.data.keyword.registrylong}} trash, but you get a 409 error: CRT0500E The tagged image already exists. You can restore this image by using the digest. {: shortdesc}

You receive the following error message when you run the ibmcloud cr image-restore command: CRT0500E The tagged image already exists. You can restore this image by using the digest. For more information, see troubleshooting: https://cloud.ibm.com/docs/Registry?topic=Registry-ts_index#ts_image_restore {: tsSymptoms}

An image with the same name exists in your live repository. You can't overwrite a live image with an image that is in the trash. {: tsCauses}

Remove the tag{: term} from the existing image in your live repository by running the ibmcloud cr image-untag command. You can then restore the required image from the trash by running the ibmcloud cr image-restore command with the option <repo>@<digest>, which restores the digest and its tags to the live repository. For more information, see Restoring images by digest. {: tsResolve}