v1
latestSwagger 2.02026-07-17107109407.9 KBImage
Delete builder cache
post/build/prune
Query parameters
keep-storageinteger
Amount of disk space in bytes to keep for cache
allboolean
Remove all types of build cache
filtersstring
A JSON encoded value of the filters (a map[string][]string) to process on the list of build cache objects.
Available filters:
- until=<timestamp> remove cache older than <timestamp>. The <timestamp> can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. 10m, 1h30m) computed relative to the daemon's local time.
- id=<id>
- parent=<id>
- type=<string>
- description=<string>
- inuse
- shared
- private
Response
No error