docker buildx prune

Description

Remove build cache

Usage

$ docker buildx prune

Options

Name, shorthand Default Description
--all , -a Remove all unused images, 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
--verbose Provide a more verbose output
--builder Override the configured builder instance

Parent command

Command Description
docker buildx Build with BuildKit
Command Description
docker buildx bake Build from a file
docker buildx build Start a build
docker buildx create Create a new builder instance
docker buildx du Disk usage
docker buildx imagetools Commands to work on images in registry
docker buildx inspect Inspect current builder instance
docker buildx ls List builder instances
docker buildx prune Remove build cache
docker buildx rm Remove a builder instance
docker buildx stop Stop builder instance
docker buildx use Set the current builder instance
docker buildx version Show buildx version information