Expand description
Container integration for sidecar service orchestration.
Provides types and configuration for managing containerized sidecar services (databases, caches, external APIs) alongside the agent process.
§Feature Gate
This module is compiled unconditionally, but actual Docker
integration requires the containers feature flag. Without it,
ContainerManager::new returns a manager that rejects all
operations with ContainerError::DockerNotAvailable.
§Architecture
Each managed container is wrapped in a ContainerService and
registered in the kernel’s ServiceRegistry, making container
health visible through the standard health monitoring system.
Structs§
- Container
Config - Configuration for the container manager.
- Container
Health - Health report for a single managed container.
- Container
Manager - Container lifecycle manager.
- Container
Service - Wraps
ContainerManageras aSystemServiceso it participates in the kernel’s service registry lifecycle and health aggregation. - Managed
Container - Specification for a managed container.
- Port
Mapping - Port mapping between host and container.
- Volume
Mount - Volume mount configuration.
Enums§
- Container
Error - Container manager errors.
- Container
State - Container lifecycle state.
- Restart
Policy - Container restart policy.