pub struct DockerExecutionConfig {
pub container: String,
pub image: String,
pub workspace_root: String,
pub host_workspace: Option<String>,
pub create_if_missing: bool,
pub network: String,
pub user: Option<String>,
pub env_allowlist: Vec<String>,
}Fields§
§container: StringPersistent container name used for every tool call.
image: StringImage used when create_if_missing creates the persistent container.
workspace_root: StringAgent-visible workspace path inside the container.
host_workspace: Option<String>Host directory bind-mounted at workspace_root. Relative paths resolve
next to config.toml. If omitted, the daemon working directory is used.
create_if_missing: boolCreate and start the persistent container when it does not exist.
network: StringDocker network mode. Defaults to none; CLI agents that call cloud APIs
need an explicitly configured network such as bridge.
user: Option<String>Optional Docker user (uid:gid, name, etc.) for docker exec.
env_allowlist: Vec<String>Additional environment variable names copied from the daemon into container executions. Values are never exposed in tool arguments.
Trait Implementations§
Source§impl Clone for DockerExecutionConfig
impl Clone for DockerExecutionConfig
Source§impl Debug for DockerExecutionConfig
impl Debug for DockerExecutionConfig
Source§impl Default for DockerExecutionConfig
impl Default for DockerExecutionConfig
Source§impl<'de> Deserialize<'de> for DockerExecutionConfig
impl<'de> Deserialize<'de> for DockerExecutionConfig
Source§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 Forget for DockerExecutionConfig
impl Freeze for DockerExecutionConfig
impl Move for DockerExecutionConfig
impl RefUnwindSafe for DockerExecutionConfig
impl Send for DockerExecutionConfigwhere
RawVecInner: Send,
impl Sync for DockerExecutionConfigwhere
RawVecInner: Sync,
impl Unpin for DockerExecutionConfig
impl UnsafeUnpin for DockerExecutionConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DockerExecutionConfigwhere
RawVecInner: UnwindSafe,
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