2.2 KiB
2.2 KiB
Docker Deployment Agent
Module
ReleaseOrchestrator
Status
VERIFIED
Description
Docker agent capability for standalone container management: pull, run, stop, remove, health-check, and log streaming operations on target hosts with registry authentication.
Implementation Details
- Modules:
src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/ - Key Classes:
DockerCapability(src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/DockerCapability.cs) -IAgentCapabilityimplementation for Docker container managementDockerClientFactory(src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/DockerClientFactory.cs) - creates Docker API clients with registry authDockerPullTask(src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/Tasks/DockerPullTask.cs) - pulls container imagesDockerRunTask(src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/Tasks/DockerRunTask.cs) - runs containersDockerStopTask(src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/Tasks/DockerStopTask.cs) - stops containersDockerRemoveTask(src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/Tasks/DockerRemoveTask.cs) - removes containersDockerHealthCheckTask(src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/Tasks/DockerHealthCheckTask.cs) - health checksDockerLogsTask(src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/Tasks/DockerLogsTask.cs) - streams container logsContainerLogStreamer(src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/ContainerLogStreamer.cs) - real-time container log streaming
- Interfaces:
IDockerTask,IAgentCapability - Source: SPRINT_20260110_108_002_AGENTS_docker.md
E2E Test Plan
- Pull a container image via
DockerPullTaskand verify the image is available locally - Run a container via
DockerRunTaskand verify it starts successfully - Health check via
DockerHealthCheckTaskand verify container health status - Stream logs via
DockerLogsTaskand verify log output is captured - Stop and remove the container via
DockerStopTaskandDockerRemoveTask
Verification
- Verified: 2026-02-13T21:00:00Z
- Method: Tier 2d integration tests
- Result: PASS