A
A
Andrey2016-12-13 22:09:23
Docker
Andrey, 2016-12-13 22:09:23

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

Please help me solve this issue!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2016-12-13
@MaxDukov

try restarting docker

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question