Recently we were testing Azure IoT Edge on VMs which were limited in size. All went well, everything worked as expected until the whole solution stopped working.
After some research, we found out the VM disk was full of data.
This came to us as a surprise. What was eating up the hard disk?
After some more research, we checked out the Azure IoT Edge modules logging location: /var/lib/docker/containers/
Here you find folders, one for each container on your system. These are named after a unique GUID which is related to a specific container.
Note: you might need elevated rights to actually access these folders.
You can compare the folder GUID with the container ID in:
docker ps
If you open one of these folders you will find the logging of the related container.
We can, of course, remove the old logging by removing the files and everything seems to be working again. But that only delays the inevitable.
Let’s see if there is a more permanent solution.
Doorgaan met het lezen van “Add rolling logging to your Moby containers”