I am experienced in drone mapping but new to WebODM, Docker, and WSL. I am running WebODM on a Windows 11 laptop with odm.wslconfig configured to attribute 15/20 virtual cores and 48/64 gb of RAM to WebODM.
After processing two projects, the \AppData\Local\Docker\wsl\data now occupies 134 gb of disk space. I could not find clear instructions on how to clear this disk space without removing the project parameters from my dashboard. Existing topics seem to use previous versions of Docker and/or Windows where Docker used to contain resource parameters, including disk space allocation for the VM. Now, these parameters are in the odm.wslconfig file and there is no disk allocation.
If you wait two days, WebODM will clean up temp files.
However, note that the ext4.vhdx that WSL2/Docker for Windows uses is a dynamically expanding volume, meaning that its minimum size on disk becomes the largest size it was ever allocated for.
So, to re-shrink it, you will need to use a tool like the Windows Hyper-V Management tools to shrink the disk after WSL2 has been taken offline.
Thank you kindly for your help. At what step should I use this flag? When running a new project? When starting WebODM? Also, if I am using the WebODM GUI, how do I give command line instructions?
Sorry for the beginner questions. Deeply appreciate the help and loving the tool so far!