To clean up Docker builder cache, use the following command:
`docker builder prune`
This will remove all cache entries, but you can limit amount of cache entries to be removed using filters:
`docker builder prune -a —-filter ”until=720h”`
Supplying `-a` option removes all unused build cache, not just dangling ones.
### See also
1. [[How filters in Docker command work?]]
### Reference
1. [Docker builder prune on Docker Website](https://docs.docker.com/reference/cli/docker/builder/prune/)