Running docker 20.10.14 on Ubuntu.
We got a multi-stage Dockerfile building regularly a ~500MB image.
Intermdiate cache layers are gradually taking more and more space, and I don’t understand how to get rid of them. It’s reaching almost 100 GB of mysterious cache layers eaten up in /var/lib/docker/overlay2/
Tried so far:
- docker image prune -a
- docker rmi on docker images filtering dangling
- untagging the related images and doing either above
They don’t even show in
We found out that using
docker system prune would clear them, but i’m not particularly happy about the part where it can delete data volumes.
Is there no other way to do this ?
Thanks a bunch…