pub struct ContainerWithDefaultTerminalCmdOpts {
pub experimental_privileged_nesting: Option<bool>,
pub insecure_root_capabilities: Option<bool>,
}
Fields§
§experimental_privileged_nesting: Option<bool>
Provides Dagger access to the executed command.
insecure_root_capabilities: Option<bool>
Execute the command with all root capabilities. This is similar to running a command with “sudo” or executing “docker run” with the “–privileged” flag. Containerization does not provide any security guarantees when using this option. It should only be used when absolutely necessary and only with trusted commands.
Trait Implementations§
Source§impl PartialEq for ContainerWithDefaultTerminalCmdOpts
impl PartialEq for ContainerWithDefaultTerminalCmdOpts
Source§fn eq(&self, other: &ContainerWithDefaultTerminalCmdOpts) -> bool
fn eq(&self, other: &ContainerWithDefaultTerminalCmdOpts) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ContainerWithDefaultTerminalCmdOpts
Auto Trait Implementations§
impl Freeze for ContainerWithDefaultTerminalCmdOpts
impl RefUnwindSafe for ContainerWithDefaultTerminalCmdOpts
impl Send for ContainerWithDefaultTerminalCmdOpts
impl Sync for ContainerWithDefaultTerminalCmdOpts
impl Unpin for ContainerWithDefaultTerminalCmdOpts
impl UnwindSafe for ContainerWithDefaultTerminalCmdOpts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more