Skip to content
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

Docker recommends WSL2 on Windows #144

Open
HMT-HRO-MaMe opened this issue Apr 26, 2022 · 1 comment
Open

Docker recommends WSL2 on Windows #144

HMT-HRO-MaMe opened this issue Apr 26, 2022 · 1 comment

Comments

@HMT-HRO-MaMe
Copy link

HMT-HRO-MaMe commented Apr 26, 2022

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants