Skip to content

Commit 20a2d97

Browse files
authored
Merge pull request #1118 from AkayaKuromoto/patch-1
fix the lifecycle reference in the states listing
2 parents 130ae3b + 15f418e commit 20a2d97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ The state of a container includes the following properties:
1818

1919
* `creating`: the container is being created (step 2 in the [lifecycle](#lifecycle))
2020
* `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 5 in the [lifecycle](#lifecycle))
22-
* `stopped`: the container process has exited (step 7 in the [lifecycle](#lifecycle))
21+
* `running`: the container process has executed the user-specified program but has not exited (after step 8 in the [lifecycle](#lifecycle))
22+
* `stopped`: the container process has exited (step 10 in the [lifecycle](#lifecycle))
2323

2424
Additional values MAY be defined by the runtime, however, they MUST be used to represent new runtime states not defined above.
2525
* **`pid`** (int, REQUIRED when `status` is `created` or `running` on Linux, OPTIONAL on other platforms) is the ID of the container process.

0 commit comments

Comments
 (0)