Skip to content

Commit e866ffa

Browse files
committed
Make pid option on platforms other than linux
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
1 parent a7bc89b commit e866ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The state of a container includes the following properties:
2222
* `stopped`: the container process has exited (step 7 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.
25-
* **`pid`** (int, REQUIRED when `status` is `created` or `running`) is the ID of the container process, as seen by the host.
25+
* **`pid`** (int, REQUIRED when `status` is `created` or `running` on Linux, OPTIONAL on other platforms) is the ID of the container process, as seen by the host.
2626
* **`bundle`** (string, REQUIRED) is the absolute path to the container's bundle directory.
2727
This is provided so that consumers can find the container's configuration and root filesystem on the host.
2828
* **`annotations`** (map, OPTIONAL) contains the list of annotations associated with the container.

0 commit comments

Comments
 (0)