Skip to content

Commit

Permalink
fix the lifecycle reference in the states listing
Browse files Browse the repository at this point in the history
In PR opencontainers#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>
  • Loading branch information
AkayaKuromoto committed Aug 10, 2021
1 parent 82ab996 commit 15f418e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 15f418e

Please sign in to comment.