Files
docker-docs/data/cli/dhi/docker_dhi_customization_prepare.yaml
Craig Osterhout 06c982499b dhi: cli update (#24539)
<!--Delete sections as needed -->

## Description

Updated DHI CLI reference and how-to topic.
- dhi cli plugin is now part of Desktop 4.65
- pulled the latest version of CLI docs from upstream and updated
`dhictl` examples to `docker dhi`
- updated how-to based on latest cli ref


## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-03-26 10:25:31 -07:00

63 lines
1.8 KiB
YAML
Generated

command: docker dhi customization prepare
short: Prepare a new customization YAML file from a DHI base image tag
long: |-
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
usage: docker dhi customization prepare <dhi-repository> <tag>
pname: docker dhi customization
plink: docker_dhi_customization.yaml
options:
- option: destination
shorthand: d
value_type: string
description: Destination repository (e.g. myorg/dhi-golang)
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
- option: name
shorthand: "n"
value_type: string
description: Name for the customization
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
- option: output
shorthand: o
value_type: string
description: Output file path (if not specified, outputs to stdout)
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
inherited_options:
- option: org
value_type: string
description: Docker Hub organization (overrides config)
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false