docker builder prune
Description
Remove build cache
API 1.39+
The client and daemon API must both be at least
1.39
to use this command. Use the docker version
command on the client to check
your client and daemon API versions.
Usage
Options
Name, shorthand |
Default |
Description |
--all , -a |
|
Remove all unused build cache, not just dangling ones |
--filter |
|
Provide filter values (e.g. ‘until=24h’) |
--force , -f |
|
Do not prompt for confirmation |
--keep-storage |
|
Amount of disk space to keep for cache |
Parent command