Struct docker_api::models::Runtime
source · Expand description
Runtime describes an OCI compliant runtime.
The runtime is invoked by the daemon via the containerd
daemon. OCI
runtimes act as an interface to the Linux kernel namespaces, cgroups,
and SELinux.
Fields§
§path: Option<String>
Name and, optional, path, of the OCI executable binary.
If the path is omitted, the daemon searches the host’s $PATH
for the
binary and uses the first result.
runtime_args: Option<Vec<String, Global>>
List of command-line arguments to pass to the runtime when invoked.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Runtime
impl<'de> Deserialize<'de> for Runtime
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Runtime, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Runtime, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for Runtime
impl Serialize for Runtime
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more