registry_management.dockerhub.clean_registry()

registry_management.dockerhub.clean_registry()

Cleans up images in the specified registry.

Usage

Source

registry_management.dockerhub.clean_registry(
    image_registry,
    remove_tagged_older_than=timedelta(weeks=80),
    remove_untagged_older_than=timedelta(weeks=26),
    dry_run=False
)
Back to top