Merge pull request #13919 from villevaltonen/patch-2

Adding --delete-untagged to registry garbage collection docs
This commit is contained in:
Usha Mandya 2022-02-24 14:27:16 +00:00 committed by GitHub
commit 4321040eb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -92,10 +92,10 @@ This type of garbage collection is known as stop-the-world garbage collection.
Garbage collection can be run as follows
`bin/registry garbage-collect [--dry-run] /path/to/config.yml`
`bin/registry garbage-collect [--dry-run] [--delete-untagged] /path/to/config.yml`
The garbage-collect command accepts a `--dry-run` parameter, which prints the progress
of the mark and sweep phases without removing any data. Running with a log level of `info`
of the mark and sweep phases without removing any data. If you need to clean up untagged manifests as well, you can run the command with `--delete-untagged` parameter. Running with a log level of `info`
gives a clear indication of items eligible for deletion.
The config.yml file should be in the following format: