copyright | lastupdated | keywords | subcollection | content-type | ||
---|---|---|---|---|---|---|
|
2024-08-01 |
registry, image, retention, distroless, list, creation date |
Registry |
troubleshoot |
{{site.data.keyword.attribute-definition-list}}
{: #troubleshoot-image-list-retention} {: troubleshoot} {: support}
An image doesn't show in the list that is produced by the {{site.data.keyword.registrylong}} ibmcloud cr retention-run
command.
{: shortdesc}
You ran the ibmcloud cr retention-run
command and an image that you expected to see in the list is not displayed.
{: tsSymptoms}
You might have Cloud Native Buildpacks{: external} or distroless{: external} base images that produce images with the build date set to a specific constant rather than the real build time or with no build timestamp at all. The ibmcloud cr retention-run
command deletes the oldest images, and therefore requires a real build time.
{: tsCauses}
Images created before 2013-01-19T00:13:39Z
are excluded from retention policy evaluation.
{: note}
You can delete the image manually by running the ibmcloud cr image-rm
command. For more information, see Deleting images from your private repository.
{: tsResolve}
To check the creation date of an image, you can run the ibmcloud cr image-inspect
command. If the image doesn't have a creation date, the date is shown in the ibmcloud cr image-inspect
output as 1970-01-01
, and the image is excluded from the results for ibmcloud cr retention-run
.
{: tip}