docker builder prune

Estimated reading time: 1 minute

Description

Remove build cache

API 1.39+  The client and daemon API must both be at least 1.39 to use this command. Use the docker version command on the client to check your client and daemon API versions.

Usage

docker builder prune

Options

Name, shorthand Default Description
--all , -a Remove all unused images, not just dangling ones
--filter Provide filter values (e.g. ‘unused-for=24h’)
--force , -f Do not prompt for confirmation
--keep-storage Amount of disk space to keep for cache

Parent command

Command Description
docker builder Manage builds
Command Description
docker builder prune Remove build cache
Rate this page:

 
0
 
0