Open Stealthii opened 1 month ago
Can confirm that I have the exact issue. Using the same build of Docker for Mac and in my case the disc usage was almost 250GB and most of the files were created on or after July 7th.
Hey @radarsh @Stealthii I'm assuming you're using Mac M1, could you please try out this build to see if the issue still persists?
https://desktop-stage.docker.com/mac/main/arm64/159051/Docker.dmg
Sorry for any inconvenience btw
@trungutt I am using Mac M1. But strangely I haven't had this issue occur again since I deleted the electron log files. Maybe I haven't done the same steps that reproduced this issue in the first place.
Let me try to use this build but it might be tricky due to enterprise firewall restrictions at my work.
@radarsh Thanks for the update. Next time I'd like to know how to reproduce it locally (if possible, having a minimal reproduction always helps, I'm aware it isn't easy most of the time).
You could still try the above build which is supposed to rotate logs correctly. Please let me know if logs continue to be accumulated in similar way.
@trungutt thanks for the build. Since reporting, I've been unable to replicate the issue that resulted in log floods in the first place. I've set up a watcher to see if this occurs again and will report back if the log rotation changes alleviate the logsize problem!
Description
The electron app logs issues encountered with running containers, however there is no max size to the total number of logs generated.
Whilst they roll over into a new log file at 20MB in size, I've had almost 70GiB of logs accumulate over the past 3 days (5th-8th).
Reproduce
Expected behavior
Docker Desktop should by default have a max size associated with logging for the Electron app.
docker version
docker info
Diagnostics ID
97B678FB-54D1-423B-8723-4C2C8557A080/20240709194122
Additional Info
A 3 line snippet of the log message:
Log file location: