CmdID

CmdID / Commands

docker-buildx-prune

Remove the build cache. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Remove build cache for currently active builder

docker buildx pruneIdentify

Remove cache records based on a specific filter

docker buildx prune --filter "type=source.local"Identify
--filterProvide filter values Docker Buildx reference

Remove the least recently used cache records until the cache size is below a specific limit

docker buildx prune --max-used-space 128mbIdentify
--max-used-spaceMaximum amount of disk space allowed to keep for cache Docker Buildx reference

Remove the least recently used cache records until a specific amount of free disk space is available

docker buildx prune --reserved-space 2gbIdentify
--reserved-spaceAmount of disk space always allowed to keep for cache Docker Buildx reference