mirror of https://github.com/docker/docs.git
Merge pull request #13919 from villevaltonen/patch-2
Adding --delete-untagged to registry garbage collection docs
This commit is contained in:
commit
4321040eb7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue