Hello,
It’s been a while since I start using Docker on my VPS for some apps like GitLab and SonarQube and other apps that I am creating for personal purposes.
Lately I noticed that there is no space left on my disk and by using ncdu command I found that /var/lib/docker is taking more than 60GiB :
I hesitated about deleting some folders under /volumes and /containers having names like for example ‘ff5aaf8f8d5cd262a5004f5bf3afa4c270aab417f5b7f78594330538c178cfc5’ because I don’t know if it’s going to impact some apps or not !
So is there a proper way to do the cleaning of this mess and getting rid of unuseful stuff ?
If you use @trajano’s approach, make sure you dont have containers that can die, because if they stop for some reason, and you run that command, they will be deleted with attached storage and image