Skip to content

Commit 7c2514b

Browse files
committed
runtime.md: only required properties are MUST applied
Address the issue mentioned in: opencontainers#405 (comment) We already doing this in runc as we can run a container with a config which has `windows` entry. And this is the right way to handle it. Signed-off-by: Qiang Huang <[email protected]>
1 parent 1584629 commit 7c2514b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ This operation MUST [generate an error](#errors) if it is not provided a path to
100100
If the ID provided is not unique across all containers within the scope of the runtime, or is not valid in any other way, the implementation MUST [generate an error](#errors) and a new container MUST NOT be created.
101101
This operation MUST create a new container.
102102

103-
All of the properties configured in [`config.json`](config.md) except for [`process`](config.md#process) MUST be applied.
103+
All of the required properties configured in [`config.json`](config.md) MUST be applied.
104104
[`process.args`](config.md#process) MUST NOT be applied until triggered by the [`start`](#start) operation.
105105
The remaining `process` properties MAY be applied by this operation.
106-
If the runtime cannot apply a property as specified in the [configuration](config.md), it MUST [generate an error](#errors) and a new container MUST NOT be created.
106+
If the runtime cannot apply a required property as specified in the [configuration](config.md), it MUST [generate an error](#errors) and a new container MUST NOT be created.
107107

108108
The runtime MAY validate `config.json` against this spec, either generically or with respect to the local system capabilities, before creating the container ([step 2](#lifecycle)).
109109
Runtime callers who are interested in pre-create validation can run [bundle-validation tools](implementations.md#testing--tools) before invoking the create operation.

0 commit comments

Comments
 (0)