pub struct Linux { /* private fields */ }Expand description
Linux contains platform-specific configuration for Linux based containers.
Implementations
UIDMappings specifies user mappings for supporting user namespaces.
GIDMappings specifies group mappings for supporting user namespaces.
Sysctl are a set of key value pairs that are set for the container on start.
Resources contain cgroup information for handling resource constraints for the container.
CgroupsPath specifies the path to cgroups that are created and/or joined by the container. The path is expected to be relative to the cgroups mountpoint. If resources are specified, the cgroups at CgroupsPath will be updated based on resources.
Namespaces contains the namespaces that are created and/or joined by the container.
Devices are a list of device nodes that are created for the container.
Seccomp specifies the seccomp security settings for the container.
RootfsPropagation is the rootfs mount propagation mode for the container.
MaskedPaths masks over the provided paths inside the container.
ReadonlyPaths sets the provided paths as RO inside the container.
MountLabel specifies the selinux context for the mounts in the container.
IntelRdt contains Intel Resource Director Technology (RDT) information for handling resource constraints (e.g., L3 cache, memory bandwidth) for the container.
Personality contains configuration for the Linux personality syscall.
UIDMappings specifies user mappings for supporting user namespaces.
GIDMappings specifies group mappings for supporting user namespaces.
Sysctl are a set of key value pairs that are set for the container on start.
Resources contain cgroup information for handling resource constraints for the container.
CgroupsPath specifies the path to cgroups that are created and/or joined by the container. The path is expected to be relative to the cgroups mountpoint. If resources are specified, the cgroups at CgroupsPath will be updated based on resources.
Namespaces contains the namespaces that are created and/or joined by the container.
Devices are a list of device nodes that are created for the container.
Seccomp specifies the seccomp security settings for the container.
RootfsPropagation is the rootfs mount propagation mode for the container.
MaskedPaths masks over the provided paths inside the container.
ReadonlyPaths sets the provided paths as RO inside the container.
MountLabel specifies the selinux context for the mounts in the container.
IntelRdt contains Intel Resource Director Technology (RDT) information for handling resource constraints (e.g., L3 cache, memory bandwidth) for the container.
Personality contains configuration for the Linux personality syscall.
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 Linux
impl UnwindSafe for Linux
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.