You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: runtime.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,9 @@ The state of a container includes the following properties:
22
22
*`stopped`: the container process has exited (step 7 in the [lifecycle](#lifecycle))
23
23
24
24
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` on Linux, OPTIONAL on other platforms) 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.
26
+
For hooks executed in the runtime namespace, it is the pid as seen by the runtime.
27
+
For hooks executed in the container namespace, it is the pid as seen by the container.
26
28
***`bundle`** (string, REQUIRED) is the absolute path to the container's bundle directory.
27
29
This is provided so that consumers can find the container's configuration and root filesystem on the host.
28
30
***`annotations`** (map, OPTIONAL) contains the list of annotations associated with the container.
0 commit comments