The disk in the docker/ var/lib/docker/ directory takes up too much, but you can't find out which file it is.

now the disk space of the production server is full. After passing df, you can find the following figure:

clipboard.png

/var/lib/docker/
var/lib/dockerdu -sh * :

clipboard.png

found that all add up to only 20 G, I don"t know what"s going on?

in addition: I am glad to find an 11G log file in container, which can be recycled (deceptive former operation and maintenance staff).

Mar.13,2021

finally found the answer, that is, a user started some processes before, but then someone used root to delete the user directly, and the process is still there, so the disk has been occupied all the time.
reference article: https://www.cnblogs.com/paul8.

Menu