buildah-prune - Man Page

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)

Referenced By

buildah(1).

Jan 2023 buildah