Overlay2 Taking too much space


Not able to identify overlay space

I am not sure what you think you see, but as both overlay mount points mount the underlying /dev/sda filesystem, they will show exactly the same value as the underlying filesystem.

What exactly is the issue here?

The following command can show you how much space containers take if this is what you are looking for.

docker container ls --all --size

You can also run

docker system df --verbose

to see to size of everything, including volumes, images and the cache.

Found the solutions. Actually the issue was the containers logs were taking up the space

1 Like

Thank you for the commands . Where can i get the docker commands for linux. I like to know more

You can find the documentation here:

If you want to learn about docker concepts and how get things done in docker, I highly recommend this free self-paced training: Introduction to Containers