mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
Merge pull request #23846 from flouthoc/prune-cleancachemount
prune: add `--build-cache` to support clearing build cache using `CleanCacheMount`
This commit is contained in:
@ -17,6 +17,10 @@ The image prune command does not prune cache images that only use layers that ar
|
||||
|
||||
Remove dangling images and images that have no associated containers.
|
||||
|
||||
#### **--build-cache**
|
||||
|
||||
Remove persistent build cache create for `--mount=type=cache`.
|
||||
|
||||
#### **--external**
|
||||
|
||||
Remove images even when they are used by external containers (e.g., build containers).
|
||||
|
Reference in New Issue
Block a user