Commit 3e75efbf authored by Nick Gaskill's avatar Nick Gaskill

Merge branch 'alvin-container-registry-doc' into 'master'

Minor update to container_registry documentation for clarity

See merge request gitlab-org/gitlab!55712
parents 309ebed4 4d05f22f
...@@ -900,12 +900,12 @@ not directly accessible via `tag`: ...@@ -900,12 +900,12 @@ not directly accessible via `tag`:
sudo gitlab-ctl registry-garbage-collect -m sudo gitlab-ctl registry-garbage-collect -m
``` ```
Without the `-m` flag, the Container Registry only removes layers that are not referenced by any manifest, tagged or not.
Since this is a way more destructive operation, this behavior is disabled by default. Since this is a way more destructive operation, this behavior is disabled by default.
You are likely expecting this way of operation, but before doing that, ensure You are likely expecting this way of operation, but before doing that, ensure
that you have backed up all registry data. that you have backed up all registry data.
When the command is used without the `-m` flag, the Container Registry only removes layers that are not referenced by any manifest, tagged or not.
### Performing garbage collection without downtime ### Performing garbage collection without downtime
> [Introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/764) in GitLab 8.8. > [Introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/764) in GitLab 8.8.
......
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