Today I want to check the operation log of the previously deployed elk cluster. I type the docker logs -f -n 200 XXX command and find the error message:
[28000] INTERNAL ERROR: cannot create temporary directory!
Baidu's result is that the disk is full.
Then I used dokcer images and found many images with names and tags of <none>.
Basically, they are useless images. I think it’s because I kept making and deleting images yesterday. I didn’t expect that after deletion, there would be residual things taking up disk space.
Solution:
To delete none images in batches, command: docker rmi $(docker images -f "dangling=true" -q)
The explanation of the command can be found in the following article: