mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-24 20:28:02 +08:00
Add descriptions and examples for buildx history commands
Signed-off-by: sarahsanders-docker <sarah.sanders@docker.com>
This commit is contained in:

committed by
Tonis Tiigi

parent
9a48aca461
commit
4dac5295a1
@@ -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),
|
||||
|
Reference in New Issue
Block a user