You deploy, you rebuild, you test things. And one day, you look at your server and you have only 2 GB of free space left. Congratulations, Docker has eaten it all up.
Your Docker hard drive hates you. And it’s your fault.
What exactly is the problem?
Docker accumulates images over time. Every time you run a docker build, if anything changes, it creates new layers and keeps the old ones. These old layers which have no tags, no names, and no purpose are called dangling images.
They serve no purpose. They take up space. And Docker doesn’t delete them on its own.






