docker builder prune
Remove build cache
Usage
$ docker builder prune
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
Command | Description |
---|---|
docker builder | Manage builds |
Related commands
Command | Description |
docker builder build | Build an image from a Dockerfile |
docker builder prune | Remove build cache |