# buildx prune ``` docker buildx prune ``` Remove build cache ### Options | Name | Description | | --- | --- | | `-a`, `--all` | Remove all unused images, not just dangling ones | | `--builder string` | Override the configured builder instance | | `--filter filter` | Provide filter values (e.g. 'until=24h') | | `-f`, `--force` | Do not prompt for confirmation | | `--keep-storage bytes` | Amount of disk space to keep for cache | | `--verbose` | Provide a more verbose output |