docker-registry-purger 0.1.1

Creator: bradpython12

Last updated:

Add to Cart

Description:

dockerregistrypurger 0.1.1

A simple cleaner for private docker-registries.

Installation
$ pip install docker-registry-purger


Usage
Clean registry using standard options (i.e keep at less 7 versions, drop only
packages older than 180 days, developement packages older than 30 days and rc
packages older than 90 days).
$ docker-registry-purger 'https://[username]:[password]@[your_repository]'
$ # OR if you have your credentials in ``.netrc``
$ docker-registry-purger 'https://[your_repository]'
This script only drops references to blobs, the blobs themself are not deleted,
to remove them you have to follow the procedure describe on
https://docs.docker.com/registry/garbage-collection/#run-garbage-collection.
You can test this script with the dry-run option:
$ docker-registry-purger --dry-run 'https://[username]:[password]@[your_repository]'

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.