OpenDroneMap / docs

🎉 Contribute to OpenDroneMap's documentation! Read how below! 🎉
https://docs.opendronemap.org/
26 stars 59 forks source link

Docker recommends WSL2 on Windows #144

Open HMT-HRO-MaMe opened 2 years ago

HMT-HRO-MaMe commented 2 years ago

Hi there, I'm not very familar with windows subsystem for Linux, because I'm comming from the Linux world (of Docker).

While following the Docker Setup instructions of the ODM docs, I noticed that Docker Windows now recommends the WSL2 backend instead of the virtual machine setup which is currently described. I guess the difference is pretty small, but as I struggle with memory (~500images) on a 16GB machine, I guess you need to increase the memory size here as well? I read about the .wslconfig but does this require a startup via powershell or WSL instead of git bash?

Saijin-Naib commented 2 years ago

Hi!

Thanks for pointing this out. Those older instructions really only count for unsupported versions of Windows at this point, so they need to be updated for sure.

The .wslconfig doesn't need to be loaded in any special way. Docker and WSL2 will see it if it is in the right location and formatted properly.

500 images is going to be very hard on 16GB RAM, most of which is going to be used by the Host OS. I wouldn't recommend allocating any more than 12GB to WSL2 since you're going to need the Host OS to function as well.