Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
221f5c4c
Commit
221f5c4c
authored
Mar 07, 2020
by
Ben Bodenmiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
List various garbage collect options in no downtime section
parent
2f177c1b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
doc/administration/packages/container_registry.md
doc/administration/packages/container_registry.md
+5
-1
No files found.
doc/administration/packages/container_registry.md
View file @
221f5c4c
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment