Image Prune Tool
image_prune_toolRemove unused Podman images to reclaim storage. By default deletes only dangling, untagged images; supports filters and --all to clear all images not used by containers.
Instructions
Remove unused images, like podman image prune.
With no arguments only dangling (untagged, unused) images are removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Remove every image not used by a container, not just dangling ones (--all) | |
| filters | No | Limit what is pruned (--filter). Keys: "until" (images built before a timestamp or Go duration, e.g. {"until": ["168h"]}; compares the build date, not when the image was pulled or tagged), "label" / "label!" (e.g. {"label": ["stage=ci"]}), "dangling" (["true"] or ["false"]) | |
| external | No | Also remove images used only by external containers, e.g. build containers (--external) | |
| build_cache | No | Also remove the persistent build cache from --mount=type=cache (--build-cache) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||