Share via

Container register remove manifest

Nasimjon Tohirov 261 Reputation points
2022-12-29T18:20:15.663+00:00

Hello everyone,
Sorry if the question is repeated.
I have a container registry repository by tag at the latest with a manifest count: of 190. So can I remove the manifest until the 10 last counts or not?
If yes how?
Thanks.

Regards,
Nasimjon.

Azure Container Registry
Azure Container Registry

An Azure service that provides a registry of Docker and Open Container Initiative images.

0 comments No comments

Answer accepted by question author
  1. Akram Kathimi 2,001 Reputation points Microsoft Employee
    2023-01-02T09:39:01.473+00:00

    Hi @Nasimjon Tohirov ,

    Everything you need can be found under: container-registry-auto-purge

    Make sure to pass "--untagged" to the command to get rid of untagged manifests, since older "latest" tags would still be found in the registry as manifests.

    Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.