Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
This question does not appear to be about
a specific programming problem, a software algorithm, or software tools primarily used by programmers
. If you believe the question would be on-topic on
another Stack Exchange site
, you can leave a comment to explain where the question may be able to be answered.
Closed
last month
.
I used standard docker cleanup commands but still docker occupies huge disk space while it reports low disk usage.
I upgraded docker-ce to latest version (5:23.0.5-1~debian.11~bullseye) then issued the following commands to reclaim docker disk space:
service docker restart
docker stop $(docker ps -a -q)
docker system prune -f --all --volumes
docker buildx prune -f --all
but still docker overlay storage uses huge disk space:
du -sh /var/lib/docker/overlay2
105G /var/lib/docker/overlay2
while it reports low disk space usage:
docker system df
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
Images 0 0 0B 0B
Containers 0 0 0B 0B
Local Volumes 3 0 1.368GB 1.368GB (100%)
Build Cache 0 0 0B 0B
Then what can I do to free disk space?
Update:
I found a open issue about this problem: https://github.com/docker/for-linux/issues/1423
–
–