Skip to content

Commit

Permalink
Merge pull request opencontainers#597 from WeiZhang555/fix-duplicated…
Browse files Browse the repository at this point in the history
…-namespaces

Forbid duplicated namespaces with same `type`.
  • Loading branch information
hqhq authored Nov 1, 2016
2 parents dc42b45 + c22eeb2 commit b8e2ebe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ The following parameters can be specified to setup namespaces:
If a path is specified, that particular file is used to join that type of namespace.
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.
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.
If a `namespaces` field contains duplicated namespaces with same `type`, the runtime MUST error out.

###### Example

Expand Down

0 comments on commit b8e2ebe

Please sign in to comment.