Debug configuration for Docker command execution.
Controls dry-run mode, verbose logging, and retry behavior.
Examples
# Dry run -- see what would be executed without running it
debug = Docker.Debug.Config.new(dry_run: true)
{:ok, cmd_string} = Docker.run(run_cmd, debug: debug)
# Verbose logging
debug = Docker.Debug.Config.new(verbose: true)
# With retry
debug = Docker.Debug.Config.new(retry: Docker.Debug.Retry.new(max_attempts: 5))
Summary
Functions
Creates a new debug config.
Types
@type t() :: %Docker.Debug.Config{ dry_run: boolean(), retry: Docker.Debug.Retry.t() | nil, verbose: boolean() }
Functions
Creates a new debug config.
Options
:dry_run- build the command but don't execute it (default: false):verbose- log commands and output via Logger (default: false):retry- aDocker.Debug.Retrypolicy (default: nil)