Add descriptions and examples for buildx history commands

Signed-off-by: sarahsanders-docker <sarah.sanders@docker.com>
This commit is contained in:
sarahsanders-docker
2025-04-17 14:50:58 -04:00
committed by Tonis Tiigi
parent 9a48aca461
commit 4dac5295a1
9 changed files with 237 additions and 0 deletions

View File

@@ -21,8 +21,20 @@ Inspect a build
<!---MARKER_GEN_END-->
## Description
Inspect a build record to view metadata such as duration, status, build inputs,
platforms, outputs, and attached artifacts. You can also use flags to extract
provenance, SBOMs, or other detailed information.
## Examples
### Inspect a build and print metadata
```console
docker buildx history inspect mybuild
```
### <a name="format"></a> Format the output (--format)
The formatting options (`--format`) pretty-prints the output to `pretty` (default),