Skip to content

Commit 042c4c4

Browse files
dhi: cli quick ref update (#24692)
<!--Delete sections as needed --> ## Description Added that for edit, the yaml must have the id. Added that this is a quick ref with an xref to the CLI ref for more details. ## Related issues or tickets https://docker.slack.com/archives/C04M34MRQS1/p1775854248771389 ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Editorial review Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
1 parent 978ff68 commit 042c4c4

File tree

1 file changed

+6
-3
lines changed
  • content/manuals/dhi/how-to

1 file changed

+6
-3
lines changed

content/manuals/dhi/how-to/cli.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,12 @@ docker dhi mirror stop dhi-golang --org my-org --delete --force
110110
### Customize DHI images {tier="DHI Select & DHI Enterprise"}
111111

112112
The CLI can be used to create and manage DHI image customizations. For detailed
113-
instructions on creating customizations, including the YAML syntax and
114-
available options, see [Customize a Docker Hardened Image](./customize.md).
113+
instructions on creating customizations using the GUI, see [Customize a Docker
114+
Hardened Image](./customize.md).
115115

116-
Quick reference for CLI commands:
116+
The following is a quick reference for CLI commands. For complete details on all
117+
options and flags, see the
118+
[CLI reference](/reference/cli/docker/dhi/).
117119

118120
```bash
119121
# Prepare a customization scaffold
@@ -138,6 +140,7 @@ docker dhi customization list --org my-org --source golang
138140
docker dhi customization get my-org/dhi-golang "golang with git" --org my-org --output my-customization.yaml
139141

140142
# Update a customization
143+
# The YAML file must include the 'id' field to identify the customization to update
141144
docker dhi customization edit my-customization.yaml --org my-org
142145

143146
# Delete a customization

0 commit comments

Comments
 (0)