Share feedback
Answers are generated based on the documentation.

docker dhi customization prepare

DescriptionPrepare a new customization YAML file from a DHI base image tag
Usagedocker dhi customization prepare <dhi-repository> <tag>

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)
-t, --tag-suffixTag suffix for the customized image