Files
2026-02-14 09:11:48 +02:00

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) - IAgentCapability implementation for Docker container management
    • DockerClientFactory (src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/DockerClientFactory.cs) - creates Docker API clients with registry auth
    • DockerPullTask (src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/Tasks/DockerPullTask.cs) - pulls container images
    • DockerRunTask (src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/Tasks/DockerRunTask.cs) - runs containers
    • DockerStopTask (src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/Tasks/DockerStopTask.cs) - stops containers
    • DockerRemoveTask (src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/Tasks/DockerRemoveTask.cs) - removes containers
    • DockerHealthCheckTask (src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/Tasks/DockerHealthCheckTask.cs) - health checks
    • DockerLogsTask (src/ReleaseOrchestrator/__Agents/StellaOps.Agent.Docker/Tasks/DockerLogsTask.cs) - streams container logs
    • ContainerLogStreamer (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 DockerPullTask and verify the image is available locally
  • Run a container via DockerRunTask and verify it starts successfully
  • Health check via DockerHealthCheckTask and verify container health status
  • Stream logs via DockerLogsTask and verify log output is captured
  • Stop and remove the container via DockerStopTask and DockerRemoveTask

Verification

  • Verified: 2026-02-13T21:00:00Z
  • Method: Tier 2d integration tests
  • Result: PASS