Sign inSign up

antlac1/cleanupdockerhub

By antlac1

Updated 3 months ago

A lightweight Docker-based tool that removes old image tags from Docker Hub.

Image
0

640

antlac1/cleanupdockerhub repository overview

A lightweight Docker-based tool that removes old image tags from Docker Hub according to configurable retention policies.

A tag is only ever deleted when both conditions are satisfied:

It ranks beyond the most-recent KEEP_LAST_N tags for a repository, and It is at least MIN_AGE_DAYS days old.

This dual guard means your newest images are always protected, and recently-pushed tags are never removed even if a repository has many of them.

For details, visit https://github.com/alacava/cleanupdockerhub

Tag summary

Content type

Image

Digest

sha256:0e477a41c

Size

46.1 MB

Last updated

3 months ago

docker pull antlac1/cleanupdockerhub