1
0
mirror of https://github.com/opencontainers/runtime-spec.git synced 2026-02-05 09:45:57 +01:00

fix the lifecycle reference in the states listing

In PR #1008 3 new steps in the lifecycle were added and the referencing of the states to the corresponding lifecycle step was not adjusted. Corrected based on Tag v1.0.0-rc6.

Signed-off-by: Pascal Theml <pascal@familie-theml.de>
This commit is contained in:
Pascal Theml
2021-08-10 16:20:17 +02:00
committed by Pascal Theml
parent 82ab996a5b
commit 15f418eb58

View File

@@ -18,8 +18,8 @@ The state of a container includes the following properties:
* `creating`: the container is being created (step 2 in the [lifecycle](#lifecycle))
* `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
* `running`: the container process has executed the user-specified program but has not exited (after step 5 in the [lifecycle](#lifecycle))
* `stopped`: the container process has exited (step 7 in the [lifecycle](#lifecycle))
* `running`: the container process has executed the user-specified program but has not exited (after step 8 in the [lifecycle](#lifecycle))
* `stopped`: the container process has exited (step 10 in the [lifecycle](#lifecycle))
Additional values MAY be defined by the runtime, however, they MUST be used to represent new runtime states not defined above.
* **`pid`** (int, REQUIRED when `status` is `created` or `running` on Linux, OPTIONAL on other platforms) is the ID of the container process.