Usage¶
App requires two paths:
- configuration file
- registry data, /var/lib/registry by default
It is advised to temporarly disable real registry (as when using normal registry garbage-collect
).
For example, to list repos:
docker run --rm -v `pwd`:/srv glorpen/registry-cleaner /srv/config.yml -d /srv/registry-data list-repos
and then to clean:
docker run --rm -v `pwd`:/srv glorpen/registry-cleaner /srv/config.yml -d /srv/registry-data clean