-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure docker so that it doesn't use up all the space on the SD card #198
Comments
Another temporary fix which stops logs completely (so you have to use individual app logs)
|
Cool that's a good idea as a temporary workaround |
What if it's not the logs? |
it seems the main culprit is whats in containers. |
btw that above workaround doesn't stop the box logs, it actually just wipes it temporarily. So we don't have to restart docker-compose We just iterate through all the containers (which I think we should include nginx and iotwifi), and pass
and it will just reset the containers log files |
This ties in to #76 |
Created issue within noma project to make this a utility for now, as configuring docker and reproducing this issue takes some time to reconfirm that it still is an issue. Alternatively, can remap logs to /dev/null |
I also doubt this is the logs. To clean up past docker images, builds, etc, use docker system prune command. |
Perhaps we could put |
Issue
After a while the SD card gets used up with logfiles.
Solution
Set a configuration value to stop the docker log files from taking up all the space, or disabling log files if it is possible as we already have logging (is this possible @noaho ? )
Temporary fix
Restart docker-compose every week or two.
Where its an issue
On the food4thought box and my own box,
The text was updated successfully, but these errors were encountered: