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
aa83fbcf
Commit
aa83fbcf
authored
Jan 11, 2021
by
Łukasz Korbasiewicz
Committed by
Suzanne Selhorn
Jan 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add warning to destructive garbage collection docs
parent
a09aa50a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
doc/administration/packages/container_registry.md
doc/administration/packages/container_registry.md
+20
-0
No files found.
doc/administration/packages/container_registry.md
View file @
aa83fbcf
...
...
@@ -867,6 +867,26 @@ understand the implications.
WARNING:
This is a destructive operation.
When you run
`registry-garbage-collect`
with the -m flag, garbage collection unlinks manifests that
are part of a multi-arch manifest, unless they're tagged in the same repository.
See
[
this issue
](
https://gitlab.com/gitlab-org/container-registry/-/issues/149
)
for details.
To work around this issue, instead of:
```
plaintext
myrepo/multiarchmanifest:latest
myrepo/manifest/amd-64:latest
myrepo/manifest/arm:latest
```
Use:
```
plaintext
myrepo/multiarchmanifest:latest
myrepo/manifest:amd-64-latest
myrepo/manifest:arm-latest
```
The GitLab Container Registry follows the same default workflow as Docker Distribution:
retain untagged manifests and all layers, even ones that are not referenced directly. All content
can be accessed by using context addressable identifiers.
...
...
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