Answer the question
In order to leave comments, you need to log in
Docker. How to clean up the /var/lib/docker/aufs/diff/ directory?
Hello!
I use git push to deploy projects to a Dokku server. Which collects projects in a docker container.
Everything works fine, but there was one "BUT". For 4 months, the directory on the server /var/lib/docker/aufs/diff/
has grown to 53G.
Can anyone explain why it grows? And how to deal with it?
I tried to clean it with the following commands, but there is no particular profit.
docker rm $(docker ps -q -f status=dead)
docker rm $(docker ps -q -f status=exited)
docker images --no-trunc -aqf "dangling=true" | xargs docker rmi
docker volume ls -qf "dangling=true" | xargs docker volume rm
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question