Share feedback
Answers are generated based on the documentation.

docker dhi customization create

内容説明Create a new customization from YAML file
利用方法docker dhi customization create <file>

内容説明

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.

Image customizations require at least one platform under 'platforms'.

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.

オプション

オプションデフォルト内容説明
-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)