docker builder prune
Remove build cache
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
© 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/