New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Purge behavior differs from documentation #64
Comments
In our process we rely heavily on "floating tags". The simplest of docker examples is the |
I came here with the same problem but after carefully reading the documentation twice, I realized that the
Still, I believe many of us read that documentation to find a way to purge only untagged images, not deleting all images. I would suggest that Microsoft update that doc to show how to purge only untagged images. |
Exactly this. This needs to be clarified in the documentation and we need some information on how to only delete untagged manifests, but leave the tags in place. |
I have the same problem.
I believe so too. |
@timja or @Wwwsylvia, can anyone take a look at this? The issue is nearly 2 years old. |
I’m pretty sure we do this via configuration in the registry, you can tell it do delete unstaffed manifests after x days |
My workaround on this is to set |
Describe the bug
When I attempted to purge untagged images using the
I received the following error
Error: required flag(s) "ago" not set
. So I added--ago 0d
and the command went through, but it also deleted tagged images. My filter was set torepname:.*
as I assumed the tag filter was irrelevant when you specify the--untagged
switch. Setting the filter torepname:^$
fixed the problem, but the--untagged
is still required. Omitting this switch results in no images being deleted. Is this behaviour expected?So the working command was
The text was updated successfully, but these errors were encountered: