Skip to main content

Module docker

Module docker 

Source
Expand description

Docker CLI invocations behind a stubbable process-execution seam.

DockerCli is the single place the platform shells out to docker. The deploy-oriented operations (build, login, push) carry their own error mapping; the raw DockerCli::output / DockerCli::status primitives exist for callers that interpret exit codes and captured output themselves (container inspection, compose lifecycle, docker exec psql). All process execution flows through CommandRunner, so tests can substitute a stub instead of spawning real processes.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Structs§

CommandSpec
DockerCli
SystemCommandRunner

Traits§

CommandRunner