Hello,
We've been using docker instances while running test cases on out Jenkins slaves.
We take care of docker cleanup (docker rm -vf ...) after every test-case.
Yet after all the test cases are run, we notice that there are some stale docker containers hanging.
But there's a bigger problem.
We see that /var/lib/docker/aufs/mnt is full of many directories (which look like they correspond to stale containers)
It's taking up 500GB of space!!! Looks like it's been building cumulatively overtime.
"docker ps -a" does not show these container-ids
Worst is that we are unable to delete this too.
I stopped the docker service & tried "rm -rf /var/lib/docker/aufs/mnt/*"
It says "Operation not permitted" though I'm the root.
How do I clean this space up? "docker rm" for these container ids say "container doesn't exist"
Any help is appreciated.
PS: Our docker version is 1.9.1
~Sagar