Expand description
Docker runtime system for opendev.
This crate provides container lifecycle management, command execution,
file operations, and tool handling inside Docker containers. It mirrors
the Python opendev.core.docker package, using tokio::process::Command
to shell out to the Docker CLI.
Re-exports§
pub use deployment::DockerDeployment;pub use errors::DockerError;pub use errors::Result;pub use local_runtime::LocalRuntime;pub use models::BashAction;pub use models::BashObservation;pub use models::CheckMode;pub use models::ContainerSpec;pub use models::ContainerStatus;pub use models::DockerConfig;pub use models::PortMapping;pub use models::RuntimeType;pub use models::ToolResult;pub use models::VolumeMount;pub use remote_runtime::RemoteRuntime;pub use session::DockerSession;pub use tool_handler::DockerToolHandler;
Modules§
- deployment
- Docker container lifecycle management.
- errors
- Error types for the Docker crate.
- local_
runtime - Local Docker runtime — manages bash sessions and file operations
inside a container by shelling out to
docker exec. - models
- Data models for Docker runtime configuration and communication.
- remote_
runtime - Remote Docker runtime — interact with a Docker host via SSH + Docker CLI.
- session
- Docker session — execute commands and copy files inside a container
using
docker execanddocker cp. - tool_
handler - Docker tool handler — routes tool execution (bash, file operations) into a Docker container.