docker dhi customization prepare
| Description | Prepare a new customization YAML file from a DHI base image tag |
|---|---|
| Usage | docker 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
| Option | Default | Description |
|---|---|---|
-d, --destination | Destination repository (e.g. myorg/dhi-golang) | |
-n, --name | Name for the customization | |
-o, --output | Output file path (if not specified, outputs to stdout) | |
-t, --tag-suffix | Tag suffix for the customized image |