Skip to content

Commit c22eeb2

Browse files
committed
Forbid duplicated namespaces with same type.
Signed-off-by: Zhang Wei <[email protected]>
1 parent 81888fe commit c22eeb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config-linux.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ The following parameters can be specified to setup namespaces:
4040
If a path is specified, that particular file is used to join that type of namespace.
4141
If a namespace type is not specified in the `namespaces` array, the container MUST inherit the [runtime namespace](glossary.md#runtime-namespace) of that type.
4242
If a new namespace is not created (because the namespace type is not listed, or because it is listed with a `path`), runtimes MUST assume that the setup for that namespace has already been done and error out if the config specifies anything else related to that namespace.
43+
If a `namespaces` field contains duplicated namespaces with same `type`, the runtime MUST error out.
4344

4445
###### Example
4546

0 commit comments

Comments
 (0)