docker /var/lib/docker/overlay2 disk full
My docker overlay consume more space , no disk space, I have extended my Aws EBS two times, but no luck. Again disk full.
Currently 7 containers are running on my server.
To see the running containers
# docker ps -a
While checking the associated images with dockers instance is
So here is docker instances with images size.
How to clean unwanted images, Just run the following command.
It’ will delete the unwanted & unused images on docker,
docker ps -s will show the detailed usage of each & every containers.
FYI : Don’t remove any images or containers manually, it will leads to data loss.
/var/lib/docker/containers : containers location
/var/lib/docker/overlay : Image locations
Eg : Dockers image & it’s contents
The images contains some directory like link, merged & diff,
The second-lowest layer, and each higher layer, contain a file called lower, which denotes its parent, and a directory called diff which contains its contents. It also contains a merged directory, which contains the unified contents of its parent layer and itself, and a work directory which is used internally by OverlayFS.
so Just run
Any doubts ping me ….!! 🙂