$ cd /var/lib/docker
$ btrfs subvolume delete btrfs/subvolumes/*
Created
September 27, 2017 08:11
-
-
Save jarek-przygodzki/4a7181a155ee2de131f4ff42e3c0c5c9 to your computer and use it in GitHub Desktop.
docker rmi $(docker images --quiet --filter "dangling=true")
If anyone uses buildkit
, the btrfs subvolume delete btrfs/subvolumes/*
command might cause the system to be unable to build images using buildkit
.
The solution that worked for me is removing /var/lib/docker/*
with rm -rf
and reinstalling docker
again.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Perfectly simple solution to an issue docker should handle itself. Thanks!