docker dhi customization prepare
| 内容説明 | Prepare a new customization YAML file from a DHI base image tag |
|---|---|
| 利用方法 | docker dhi customization prepare <dhi-repository> <tag> |
内容説明
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
オプション
| オプション | デフォルト | 内容説明 |
|---|---|---|
-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 |