Skip to content

Commit

Permalink
Merge pull request #507 from wking/add-creating-status
Browse files Browse the repository at this point in the history
runtime: Add 'creating' to state status
  • Loading branch information
Mrunal Patel authored Feb 8, 2017
2 parents 7c1a16b + 65d9d6b commit 1f408dc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ There is no requirement that it be unique across hosts.
* **`status`** (string, REQUIRED) is the runtime state of the container.
The value MAY be one of:

* `created`: 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
* `stopped`: the container process has exited
* `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 4 in the [lifecycle](#lifecycle))
* `stopped`: the container process has exited (step 5 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`) is the ID of the container process, as seen by the host.
Expand Down

0 comments on commit 1f408dc

Please sign in to comment.