Commit 4d05f22f authored by Alvin Gounder's avatar Alvin Gounder Committed by Nick Gaskill

Minor update to container_registry documentation for clarity

parent df5fcb4e
......@@ -900,12 +900,12 @@ not directly accessible via `tag`:
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.
You are likely expecting this way of operation, but before doing that, ensure
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
> [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