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

@@ -14,3 +14,28 @@ Remove build records
<!---MARKER_GEN_END-->
## Description
Remove one or more build records from the current builders history. You can
remove specific builds by name or ID, or delete all records at once using
the `--all` flag.
## Examples
### Remove a specific build
```console
docker buildx history rm mybuild
```
### Remove multiple builds
```console
docker buildx history rm mybuild frontend-build backend-build
```
### Remove all build records from the current builder
```console
docker buildx history rm --all
```