pub struct Process { /* private fields */ }Expand description
Process contains information to start a specific application inside the container.
Implementations
Terminal creates an interactive terminal for the container.
ConsoleSize specifies the size of the console.
NoNewPrivileges controls whether additional privileges could be gained by processes in the container.
Specify an oom_score_adj for the container.
Args specifies the binary and arguments for the application to execute.
CommandLine specifies the full command line for the application to execute on Windows.
Env populates the process environment for the process.
Cwd is the current working directory for the process and must be relative to the container’s root.
Capabilities are Linux capabilities that are kept for the process.
Rlimits specifies rlimit options to apply to the process.
ApparmorProfile specifies the apparmor profile for the container.
SelinuxLabel specifies the selinux context that the container process is run as.
Terminal creates an interactive terminal for the container.
ConsoleSize specifies the size of the console.
User specifies user information for the process.
Args specifies the binary and arguments for the application to execute.
CommandLine specifies the full command line for the application to execute on Windows.
Env populates the process environment for the process.
Cwd is the current working directory for the process and must be relative to the container’s root.
Capabilities are Linux capabilities that are kept for the process.
Rlimits specifies rlimit options to apply to the process.
NoNewPrivileges controls whether additional privileges could be gained by processes in the container.
ApparmorProfile specifies the apparmor profile for the container.
Specify an oom_score_adj for the container.
SelinuxLabel specifies the selinux context that the container process is run as.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Process
impl UnwindSafe for Process
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.