Skip to content
Fresh

docker dhi customization prepare

Back

Reference

docker dhi customization prepare

Copy as Markdown

Open MarkdownAsk Docs AIClaudeOpen in Claude

| Description | Prepare a new customization YAML file from a DHI base image tag | | Usage | docker dhi customization prepare <dhi-repository&gt; <tag&gt; |

Description

Prepare a new customization YAML file by fetching tag details from a Docker Hardened Images repository. This creates a scaffold YAML file that can be used with the create command.

The repository argument must be a DHI source repository name, not a mirrored destination repository. Supported formats:

  • golang
  • dhi/golang
  • dhi.io/golang

Options

OptionDefaultDescription
-d, --destinationDestination repository (e.g. myorg/dhi-golang)
-n, --nameName for the customization
-o, --outputOutput file path (if not specified, outputs to stdout)