mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-30 23:28:04 +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
@@ -14,3 +14,28 @@ Remove build records
|
||||
|
||||
<!---MARKER_GEN_END-->
|
||||
|
||||
## Description
|
||||
|
||||
Remove one or more build records from the current builder’s 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
|
||||
```
|
||||
|
Reference in New Issue
Block a user