Share feedback
Answers are generated based on the documentation.

docker dhi customization create

DescriptionCreate a new customization from YAML file
Usagedocker dhi customization create <file>

Description

Create a new Docker Hardened Images customization using a YAML file as input. The file should contain the complete customization structure without an 'id' field.

Flags can override values from the YAML file (see --help for details). Shell completions are available for --destination and --tag-definition-id flags. Run 'docker dhi completion --help' to set up shell completions.

Options

OptionDefaultDescription
-d, --destinationOverride the destination repository (e.g. myorg/dhi-golang)
--jsonOutput in JSON format
-n, --nameOverride the customization name from the YAML file
-t, --tag-definition-idOverride the tag definition ID (single-target only)