mirror of
https://github.com/containers/buildah.git
synced 2026-02-05 09:45:38 +01:00
* Just like buildkit buildah must allow cleaning the buildcache and cache generated on host by `--mount=type=cache` just like buildkit's `prune` command. * Also expose `CleanCacheMount` API so other tools like `podman` can use it. See: https://github.com/moby/buildkit#cache Closes: https://github.com/containers/buildah/issues/4486 Signed-off-by: Aditya R <arajan@redhat.com>
666 B
666 B
buildah-rmi "1" "Jan 2023" "buildah"
NAME
buildah-prune - Cleanup intermediate images as well as build and mount cache.
SYNOPSIS
buildah prune
DESCRIPTION
Cleanup intermediate images as well as build and mount cache.
OPTIONS
--all, -a
All local images will be removed from the system that do not have containers using the image as a reference image.
--force, -f
This option will cause Buildah to remove all containers that are using the image before removing the image from the system.
EXAMPLE
buildah prune
buildah prune --force
SEE ALSO
buildah(1), containers-registries.conf(5), containers-storage.conf(5)