Skip to content

dockform destroy

Destroy all managed resources

Synopsis

Destroy all resources managed by dockform with the configured identifier.

This command will:

  • List all containers, networks, volumes, and filesets labeled with the dockform identifier
  • Show a plan of what will be destroyed (same format as 'dockform plan')
  • Prompt for confirmation by typing the identifier name
  • Destroy resources in the correct order (containers → networks → volumes)

Warning: This operation is irreversible and will destroy ALL managed resources, regardless of what's in your current configuration file.

dockform destroy [flags]

Options

  -h, --help                help for destroy
      --skip-confirmation   Skip confirmation prompt and destroy immediately

Options inherited from parent commands

  -c, --config string       Path to configuration file or directory (defaults: dockform.yml, dockform.yaml, Dockform.yml, Dockform.yaml in current directory)
      --log-file string     Write JSON logs to file (in addition to stderr)
      --log-format string   Log format: auto, pretty, json (default "auto")
      --log-level string    Log level: debug, info, warn, error (default "info")
      --no-color            Disable color in pretty logs
  -v, --verbose             Verbose error output

SEE ALSO

  • dockform - Manage Docker Compose projects declaratively