diff --git a/runtime.md b/runtime.md index 01bdb9d5..90e383fd 100644 --- a/runtime.md +++ b/runtime.md @@ -20,7 +20,7 @@ The value MAY be one of: * `stopped` : the container has been created and the user-specified code has been executed but is no longer running Additional values MAY be defined by the runtime, however, they MUST be used to represent new runtime states not defined above. -* **`pid`**: (int) is the ID of the main process within the container, as seen by the host. +* **`pid`**: (int) is the ID of the container process, as seen by the host. * **`bundlePath`**: (string) is the absolute path to the container's bundle directory. This is provided so that consumers can find the container's configuration and root filesystem on the host. * **`annotations`**: (map) contains the list of annotations associated with the container. diff --git a/specs-go/config.go b/specs-go/config.go index 4d5a9488..abbeb266 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -53,8 +53,8 @@ type Process struct { SelinuxLabel string `json:"selinuxLabel,omitempty" platform:"linux"` } -// User specifies Linux/Solaris specific user and group information for the container's -// main process. +// User specifies Linux/Solaris specific user and group information +// for the container process. type User struct { // UID is the user id. (this field is platform dependent) UID uint32 `json:"uid" platform:"linux,solaris"` diff --git a/specs-go/state.go b/specs-go/state.go index 445f8c5c..ad31b893 100644 --- a/specs-go/state.go +++ b/specs-go/state.go @@ -8,7 +8,7 @@ type State struct { ID string `json:"id"` // Status is the runtime state of the container. Status string `json:"status"` - // Pid is the process id for the container's main process. + // Pid is the process ID for the container process. Pid int `json:"pid"` // BundlePath is the path to the container's bundle directory. BundlePath string `json:"bundlePath"`