LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

docker-buildx-du

Show disk usage of Docker build cache

TLDR

Show build cache disk usage
$ docker buildx du
copy
Show detailed disk usage with all metadata
$ docker buildx du --verbose
copy
Show disk usage for a specific builder
$ docker buildx du --builder [builder_name]
copy
Filter cache records by age
$ docker buildx du --filter until=[24h]
copy
Filter cache records by type
$ docker buildx du --filter type=[regular]
copy

SYNOPSIS

docker buildx du [options]

DESCRIPTION

docker buildx du displays disk usage information for the build cache of the currently selected (or specified) builder instance. The output lists cache records with their IDs, whether they are reclaimable, their size, and when they were last accessed.This command is useful for understanding how much disk space the build cache consumes before deciding to prune it with docker buildx prune.

PARAMETERS

--filter key=value

Filter output using key-value selectors (e.g., `until=24h`, `type=...`).
--verbose
Show detailed output with additional metadata.
--builder name
Target a specific builder instance (overrides the default).

INSTALL

sudo apt install docker-cli
copy
sudo dnf install docker-cli
copy
sudo pacman -S docker
copy
sudo apk add docker-cli
copy
sudo zypper install docker
copy
brew install docker
copy
nix profile install nixpkgs#docker
copy

CAVEATS

Asterisks in the output indicate mutable records (size may change) or shared storage that overlaps with other resources. The reported sizes may not reflect actual reclaimable space when records are shared between builds.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid