Skip to content

Commit 1f408dc

Browse files
author
Mrunal Patel
authored
Merge pull request opencontainers#507 from wking/add-creating-status
runtime: Add 'creating' to state status
2 parents 7c1a16b + 65d9d6b commit 1f408dc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

runtime.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ There is no requirement that it be unique across hosts.
1616
* **`status`** (string, REQUIRED) is the runtime state of the container.
1717
The value MAY be one of:
1818

19-
* `created`: the container process has neither exited nor executed the user-specified program
20-
* `running`: the container process has executed the user-specified program but has not exited
21-
* `stopped`: the container process has exited
19+
* `creating`: the container is being created (step 2 in the [lifecycle](#lifecycle))
20+
* `created`: the runtime has finished the [create operation](#create) (after step 2 in the [lifecycle](#lifecycle)), and the container process has neither exited nor executed the user-specified program
21+
* `running`: the container process has executed the user-specified program but has not exited (after step 4 in the [lifecycle](#lifecycle))
22+
* `stopped`: the container process has exited (step 5 in the [lifecycle](#lifecycle))
2223

2324
Additional values MAY be defined by the runtime, however, they MUST be used to represent new runtime states not defined above.
2425
* **`pid`** (int, REQUIRED when `status` is `created` or `running`) is the ID of the container process, as seen by the host.

0 commit comments

Comments
 (0)