æ¦è¦
ããå¿ããã®ã§ãããã«ã¡ã¢ã¡ã¢ããã
Docker ï¼ WSL2 ã®ç°å¢ã§ä½æ¥ãã¦ããã¨ããã¤ã®ã¾ã«ã Vmmem ãããå°æãã¦ããã¡ã¢ãªéãã¨ãã§ããªããã¨ã«ãªãã¾ãã
ãã®ç°å¢ã§ã¯Dockerå´ã«ã¡ã¢ãªéã®å¶éãè¨å®ãããã¨ãåºæ¥ãªãã¿ããã§ãWSL2å´ã®è¨å®ã§ã¡ã¢ãªä¸éãè¨å®ãããã¨ã«ãªãã¾ãã
WSL2ã®è¨å®ã¯ã以ä¸ã®å ´æã«ãã¡ã¤ã«ãä½æãã¦ãããã¨ã§æå¹ã«ãªãã¾ãã
%USERPROFILE%\.wslconfig
- PowerShell ã®å ´åã¯
$env:USERPROFILE\.wslconfig
- PowerShell ã®å ´åã¯
ããã«ä»¥ä¸ã®ããã«å¤ãè¨å®ãã¾ããä¾ãã°ä»¥ä¸ã¯ã¡ã¢ãªä¸éãï¼GBã«è¨å®ãã¦ãã¾ãã
[wsl2] memory=4GB
è¨å®ããããWSL2ãåèµ·åãã¾ããåèµ·åã®ããæ¹ã¯
ãåç §ãã ããã
åèæ å ±
éå»ã®è¨äºã«ã¤ãã¦ã¯ã以ä¸ã®ãã¼ã¸ãããåç §ä¸ããã
- ããããåå¿é²æ¥è¨ã¾ã¨ã
ãµã³ãã«ã³ã¼ãã¯ã以ä¸ã®å ´æã§å ¬éãã¦ãã¾ãã
- ããããåå¿é²æ¥è¨ãµã³ãã«ã½ã¼ã¹ç½®ãå ´