Skip to content

Commit c4cc395

Browse files
authored
Merge pull request #700 from wking/process-config-timing
runtime: Explicitly make process.* timing implementation-defined
2 parents 8601fd7 + 72e8062 commit c4cc395

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

runtime.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,12 @@ This operation MUST return the state of a container as specified in the [State](
9898

9999
This operation MUST [generate an error](#errors) if it is not provided a path to the bundle and the container ID to associate with the container.
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.
101-
Using the data in [`config.json`](config.md), this operation MUST create a new container.
102-
This means that all of the resources associated with the container MUST be created, however, the user-specified program MUST NOT be run at this time.
103-
If the runtime cannot create the container as specified in [`config.json`](config.md), it MUST [generate an error](#errors) and a new container MUST NOT be created.
101+
This operation MUST create a new container.
102+
103+
All of the properties configured in [`config.json`](config.md) except for [`process`](config.md#process) MUST be applied.
104+
[`process.args`](config.md#process) MUST NOT be applied until triggered by the [`start`](#start) operation.
105+
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.
104107

105108
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)).
106109
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)