This a troubleshooting record when I find some Docker instances on a Docker host do not work.
First I find “docker ps” does not show me the expected result. Instead, it says docker service does not work properly.
I try “sudo service docker restart” before “docker ps” but get the same result.
Restart does not fix the problem.
I find the disk is full by “df -Th”. So that is the root cause.
Obviously some Docker instance on this host exhausted all the disk space. I need to remove the content of it.
Finally I find it:
1 | root@bq177:/var/lib/docker/aufs/diff/4491e00fe0d51e79301e5db598e28b5ec38ed95a9fba4f718e857f3866bdf218/root/ecom-sim/ecom/log# ll simulator-provider.log |
Now my only question is that why the author of this program made this happen: a 300GB log file after 30 days running.