/var/lib/docker/aufs/diff out of disk space

I’m running a swarm master (v1) and I’m getting disk full on the /var/lib/docker/aufs filesytem:

cd /var/lib/docker/aufs

du -sb *

29489726866 diff
49878 layers
89557582 mnt

diff folder is nearly 30G. How can I free up disk space?

Here’s docker system df:

docker system df

Images 6 4 248MB 135MB (54%)
Containers 16 3 71B 71B (100%)
Local Volumes 1 1 0B 0B

Hi, jhavero,
In case you are running docker-ce 17.06.1-ce, the upgrade to 17.06.2-ce should fix it.

1 Like

Somehow it was the other way around for me - upgraded to 17.06.2 and aufs started growing with lots of *-removing dirs left. Downgraded back to 17.06.1 and all works fine.

Thx ! upgrading from 17.06.1-ce to 17.06.2-ce solved my problem