Commit 221f5c4c authored by Ben Bodenmiller's avatar Ben Bodenmiller

List various garbage collect options in no downtime section

parent 2f177c1b
...@@ -736,10 +736,14 @@ To enable the read-only mode: ...@@ -736,10 +736,14 @@ To enable the read-only mode:
This will set the Container Registry into 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 ```sh
# Recycling unused tags
sudo /opt/gitlab/embedded/bin/registry garbage-collect /var/opt/gitlab/registry/config.yml 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. 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