docker buildx history rm
| 内容説明 | Remove build records |
|---|---|
| 利用方法 | docker buildx history rm [OPTIONS] [REF...] |
内容説明
Remove one or more build records from the current builder’s history. You can
remove specific builds by ID or offset, or delete all records at once using
the --all flag.
オプション
| オプション | デフォルト | 内容説明 |
|---|---|---|
--all | Remove all build records |
利用例
Remove a specific build
# Using a build ID
docker buildx history rm qu2gsuo8ejqrwdfii23xkkckt
# Or using a relative offset
docker buildx history rm ^1
Remove multiple builds
# Using build IDs
docker buildx history rm qu2gsuo8ejqrwdfii23xkkckt qsiifiuf1ad9pa9qvppc0z1l3
# Or using relative offsets
docker buildx history rm ^1 ^2
Remove all build records from the current builder (--all)
docker buildx history rm --all