Docker’s files are getting bigger and bigger.

  docker, question

There is not enough disk space on VPS. After checking the files, I found that there are many files, especially some files in the Docker installation directory are very large. How do you understand the files? Can Docker-related files be narrowed down?

➤➤ sudo find / -xdev -type f -size +100M
 /swapfile
 /var/log/nginx/access.log
 /var/lib/docker/containers/998d354cfc70b7c25669f9bbc2a8bf8a663d36f4a4c20946f630d5e4161a7e76/998d354cfc70b7c25669f9bbc2a8bf8a663d36f4a4c20946f630d5e4161a7e76-json.log
 /var/lib/docker/aufs/diff/93bfdb4fbb87c00b899bd7685a0b32f53fd52b0e6deb370a819375d12c209c09/var/www/discourse/.git/objects/pack/pack-a04998dcdce7676932a4768d1c3e2076b27bd30b.pack
 /var/lib/docker/aufs/diff/d69c7fe24577873cea0c49f8c88a243f4c05fde3054b0057baa72f3bc5056698/var/www/discourse/.git/objects/pack/pack-a04998dcdce7676932a4768d1c3e2076b27bd30b.pack

Try to clean up the log in the mirror where docker ran, perhaps you can clean up some space.