2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-03 11:34:57 +01:00

add registry-cli

This commit is contained in:
kev
2021-12-14 16:50:55 +08:00
parent 40cf4e8fb2
commit 0382542699
3 changed files with 36 additions and 0 deletions

11
registry-cli/README.md Normal file
View File

@@ -0,0 +1,11 @@
registry-cli
============
[registry-cli][1] is a script for easy manipulation of docker-registry from command line (and from scripts)
```
$ alias registry-cli='docker run --rm --net host vimagick/registry-cli -r http://127.0.0.1:5000 -l user:pass'
$ registry-cli -i image_name --delete-by-hours $((24*30)) --dry-run
```
[1]: https://github.com/andrey-pohilko/registry-cli