I referred to this. Docker Desktop WSL 2 Backend — Docker-docs-ja 19.03 ... Try Docker environment on Windows-Qiita Docker Desktop for Windows (reference translation) --Qiita
My environment is as follows. Microsoft Windows [Version 10.0.19041.508] Windows 10 Pro version 2004 64bit Intel Core i5-3340M 2.70GHz RAM 16GB Fujitsu LIFEBOOK P772/G
Information before VScode Version: 1.49.1 (user setup)
Windows Subsystem for Linux Release Notes The above site says, "Adjust the default memory allocation for the WSL2 VM to be 50% or 8 GB of host memory, whichever is less," so that may have helped. .. Previously, when I enabled Remote Development, an extension of VS Code, with WSL2 enabled, there was a phenomenon that the CPU usage remained close to 100%. At that time, when I tried to reduce the CPU allocation rate of WSL2, I noticed that the item of CPUs was not found in the Resources tab. Therefore, I would like to keep it as a memorandum.
It seems to be whether or not to check "Use the WSL 2 based engine" on the General tab. WSL2 seems to allocate resources dynamically, so I think that there is no need to configure it.
screenshot
Recommended Posts