Add shared content label to namespaces
Adds shared content labels to namespaces allowing content to be shared between namespaces if that namespace is specifically tagged as being sharable by adding the `containerd.io/namespace/sharable` label to the namespace. Signed-off-by: Cody Roseborough <cdr@amazon.com>
This commit is contained in:
@@ -232,3 +232,7 @@ The default is "shared". While this is largely the most desired policy, one can
|
||||
[plugins.bolt]
|
||||
content_sharing_policy = "isolated"
|
||||
```
|
||||
|
||||
It is possible to share only the contents of a specific namespace by adding the label `containerd.io/namespace.shareable=true` to that namespace.
|
||||
This will share the contents of the namespace even if the content sharing policy is set to isolated and make its images usable by all other namespaces.
|
||||
If the label value is set to anything other than `true`, the namespace content will not be shared.
|
||||
|
||||
Reference in New Issue
Block a user