Manual installation steps for older versions of WSL | Microsoft Learn

docker desktop安装完,可能还需要更新Linux kernel

Step 4 - Download the Linux kernel update package

Download the latest package:

WSL2 Linux kernel update package for x64 machines

 Note

If you're using an ARM64 machine, please download the ARM64 package instead. If you're not sure what kind of machine you have, open Command Prompt or PowerShell and enter: systeminfo | find "System Type". Caveat: On non-English Windows versions, you might have to modify the search text, translating the "System Type" string. You may also need to escape the quotations for the find command. For example, in German systeminfo | find '"Systemtyp"'.

Run the update package downloaded in the previous step. (Double-click to run - you will be prompted for elevated permissions, select ‘yes’ to approve this installation.)

Once the installation is complete, move on to the next step - setting WSL 2 as your default version when installing new Linux distributions. (Skip this step if you want your new Linux installs to be set to WSL 1).

 Note

For more information, read the article changes to updating the WSL2 Linux kernel, available on the Windows Command Line Blog.

参考阅读

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。