diff --git a/registry/garbage-collection.md b/registry/garbage-collection.md index 688238be83..8732c761eb 100644 --- a/registry/garbage-collection.md +++ b/registry/garbage-collection.md @@ -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: