Remove build cache
$ docker builder prune
| 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 | 
| Command | Description | 
|---|---|
| docker builder | Manage builds | 
| Command | Description | 
| docker builder build | Build an image from a Dockerfile | 
| docker builder prune | Remove build cache | 
    © 2019 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.
    https://docs.docker.com/engine/reference/commandline/builder_prune/