podman icon indicating copy to clipboard operation
podman copied to clipboard

Compat API v1.48: implement POST /build/prune

Open ajoshua2004 opened this issue 3 weeks ago • 1 comments

Feature request description

Docker API v1.48 clients can clear build cache through POST /build/prune, but Podman's compat API doesn't register that endpoint, so calls like docker builder prune fail against Podman. This adds the endpoint with support for reserved-space (renamed from keep-storage), max-used-space, and min-free-space, so Docker clients can limit how much cache is kept or removed.

Related to podman-container-tools/buildah#7216.

Part of #30161, parent #30159.

Suggest potential solution

A clear and concise description of what you want to happen.

Have you considered any alternatives?

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

ajoshua2004 avatar Nov 10 '26 13:11 ajoshua2004

/assign

ajoshua2004 avatar Nov 10 '26 13:11 ajoshua2004