Docker.Debug.Executor (docker_wrapper v0.1.2)

Copy Markdown View Source

Retry-aware command executor with dry-run and verbose logging support.

Wraps Docker.Command.run/3 with debug capabilities.

Summary

Functions

Executes a command with debug options applied.

Functions

run(mod, command, config, debug)

@spec run(module(), struct(), Docker.Config.t(), Docker.Debug.Config.t()) ::
  {:ok, term()} | {:error, term()}

Executes a command with debug options applied.

When dry_run: true, returns the command string that would be executed. When verbose: true, logs the command and result. When retry is set, retries failed commands according to the policy.