mirror of
https://github.com/distribution/distribution.git
synced 2025-08-01 15:17:30 +00:00
docs/garbage-collection: document --delete-untagged and --quiet options
Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com>
This commit is contained in:
parent
a032989bf9
commit
2a491b35dd
@ -90,7 +90,7 @@ 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] [--quiet] /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`
|
||||
@ -122,3 +122,8 @@ blob eligible for deletion: sha256:87192bdbe00f8f2a62527f36bb4c7c7f4eaf9307e4b87
|
||||
blob eligible for deletion: sha256:b549a9959a664038fc35c155a95742cf12297672ca0ae35735ec027d55bf4e97
|
||||
blob eligible for deletion: sha256:f251d679a7c61455f06d793e43c06786d7766c88b8c24edf242b2c08e3c3f599
|
||||
```
|
||||
|
||||
The `--delete-untagged` option can be used to delete manifests that are not currently referenced by a tag.
|
||||
|
||||
The `--quiet` option suppresses any output from being printed.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user