Commit c14c5af3 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'patch-88' into 'master'

List various garbage collect options in no downtime section

See merge request gitlab-org/gitlab!26732
parents 4742d324 221f5c4c
......@@ -736,10 +736,14 @@ To enable the read-only mode:
This will set the Container Registry into the read only mode.
1. Next, trigger the garbage collect command:
1. Next, trigger one of the garbage collect commands:
```sh
# Recycling unused tags
sudo /opt/gitlab/embedded/bin/registry garbage-collect /var/opt/gitlab/registry/config.yml
# Removing unused layers not referenced by manifests
sudo /opt/gitlab/embedded/bin/registry garbage-collect -m /var/opt/gitlab/registry/config.yml
```
This will start the garbage collection, which might take some time to complete.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment