core-329 update readme

This commit is contained in:
Ivan Pavlushin
2018-01-09 13:15:19 +03:00
parent e307c2fd2e
commit efab7fd26a

View File

@@ -121,9 +121,13 @@ Delete all tags for particular image (e.g. delete all ubuntu tags):
Delete all tags for all images (do you really want to do it?): Delete all tags for all images (do you really want to do it?):
``` ```
registry.py -l user:pass -r https://example.com:5000 --delete-all registry.py -l user:pass -r https://example.com:5000 --delete-all --dry-run
``` ```
Delete all tags by age in hours for the particular image (e.g. older than 24 hours, with --keep-tags and --keep-tags-like options, --dry-run for safe).
```
registry.py -r https://example.com:5000 -i api-docs-origin/master --dry-run --delete-by-hours 24 --keep-tags c59c02c25f023263fd4b5d43fc1ff653f08b3d4x --keep-tags-like late
```
## Disable ssl verification ## Disable ssl verification
If you are using docker registry with a self signed ssl certificate, you can disable ssl verification: If you are using docker registry with a self signed ssl certificate, you can disable ssl verification: