[Docker Hub] Image retention policies
Tell us about your request User-specified image management configurations for cleaning up unnecessary or unwanted repository tags.
Which service(s) is this request for? Docker Hub
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? As an account admin/owner, I would like flexibility and control over cleaning up unnecessary or unwanted repository tags within my Hub repositories, so that I can control which tags should get deleted and prevent specific tags from being deleted.
Are you currently working around this issue? N/A
Additional context N/A
Attachments N/A
Would automatic detection of images that have not been pulled in < X months be useful information to (automatically) surface? What other information would be helpful to see in determining the staleness or continued relevancy of images?
For us, I think that is most important. I think for well organized teams, the grouping by tagging is relevant. e.g. how many tags have a prefix of test-, I want those deleted weekly, while images that have a format of v<semver> are kept for a minimum of 30 days.
In relation to https://www.docker.com/blog/november-2024-updated-plans-announcement/ and storage limits (charges) being put in place from March 1st I hope that this feature gets into the product before then.
There's currently no convenient tools to manage lifecycle policies for dockerhub available (that I was able to find) so it will make it really hard to manage storage without this.
@mariusgrigaitis yes! We'll continue enhancing Docker Hub with new features to manage images, including lifecycle policies, both leading up to March 1st and beyond.