Companion tool for Private Docker Registry.
Run somewhere on Docker enabled host:
$ docker pull dalee/hitman
$ docker run \
-p 4000:4000 \
-e MACARON_ENV=production \
-e REGISTRY_URL=https://registry.example.com:5000/ \
dalee/hitman
Put command to your favourite scheduler (cron, ci, etc..)
$ docker exec -it docker.registry \
bin/registry garbage-collect /etc/docker/registry/config.yml
Where docker.registry is name of container running Docker Registry.
deny/allow for example)tags could point to single digest
(you can have latest and v1.0.1 tags, but they actually single image, so be careful)garbage-collect command is issuedSoftware is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.
Content type
Image
Digest
Size
5.5 MB
Last updated
over 9 years ago
docker pull dalee/hitman