You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To distinguish between "we're still setting this container up" and
"we're finished setting up; you can call 'start' if you like".
Also reference the lifecycle steps, because you can't be too explicit
Signed-off-by: W. Trevor King <[email protected]>
Copy file name to clipboardExpand all lines: runtime.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,10 @@ This MUST be unique across all containers on this host.
15
15
There is no requirement that it be unique across hosts.
16
16
***`status`**: (string) is the runtime state of the container.
17
17
The value MAY be one of:
18
-
* `created`: the container process has neither exited nor executed the user-specified code
19
-
* `running`: the container process has executed the user-specified code but has not exited
20
-
* `stopped`: the container process has exited
18
+
* `creating`: the container is being created (step 2 in the [lifecycle](#lifecycle))
19
+
* `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 code
20
+
* `running`: the container process has executed the user-specified code but has not exited (after step 4 in the [lifecycle](#lifecycle))
21
+
* `stopped`: the container process has exited (step 5 in the [lifecycle](#lifecycle))
21
22
22
23
Additional values MAY be defined by the runtime, however, they MUST be used to represent new runtime states not defined above.
23
24
***`pid`**: (int) is the ID of the container process, as seen by the host.
0 commit comments