mirror of
https://github.com/distribution/distribution.git
synced 2025-09-20 10:47:26 +00:00
Updated the registry documentation to include an example for the config.yml file
This commit is contained in:
committed by
Joao Fernandes
parent
39a8fcd85e
commit
b2635632a2
@@ -110,6 +110,15 @@ The garbage-collect command accepts a `--dry-run` parameter, which will print th
|
|||||||
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. Running with a log level of `info`
|
||||||
will give a clear indication of what will and will not be deleted.
|
will give a clear indication of what will and will not be deleted.
|
||||||
|
|
||||||
|
The config.yml file should be in the following format:
|
||||||
|
|
||||||
|
```
|
||||||
|
version: 0.1
|
||||||
|
storage:
|
||||||
|
filesystem:
|
||||||
|
rootdirectory: /registry/data
|
||||||
|
```
|
||||||
|
|
||||||
_Sample output from a dry run garbage collection with registry log level set to `info`_
|
_Sample output from a dry run garbage collection with registry log level set to `info`_
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user