pub struct ContainerTerminalOpts<'a> {
pub cmd: Option<Vec<&'a str>>,
pub experimental_privileged_nesting: Option<bool>,
pub insecure_root_capabilities: Option<bool>,
}
Fields§
§cmd: Option<Vec<&'a str>>
If set, override the container’s default terminal command and invoke these command arguments instead.
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<'a> Debug for ContainerTerminalOpts<'a>
impl<'a> Debug for ContainerTerminalOpts<'a>
Source§impl<'a> PartialEq for ContainerTerminalOpts<'a>
impl<'a> PartialEq for ContainerTerminalOpts<'a>
impl<'a> StructuralPartialEq for ContainerTerminalOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for ContainerTerminalOpts<'a>
impl<'a> RefUnwindSafe for ContainerTerminalOpts<'a>
impl<'a> Send for ContainerTerminalOpts<'a>
impl<'a> Sync for ContainerTerminalOpts<'a>
impl<'a> Unpin for ContainerTerminalOpts<'a>
impl<'a> UnwindSafe for ContainerTerminalOpts<'a>
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