Update the WSL kernel by running “wsl --update” or follow instructions at https://docs.microsoft.com/windows/wsl/wsl2-kernel.
解决:命令行运行wsl --update
安装最新版docker报错:
在菜单搜索 powershell ,点击打开windows powershell ,依次键入以下指令:
Get-WmiObject -Class Win32_OperatingSystem | % Caption
Get-WmiObject -Class Win32_OperatingSystem | % Buildnumber
buildnumber 是14393 。
所以解决办法来了: 在docker官网 https://docs.docker.com/docker-for-windows/release-notes/#docker-desktop-community-2302 右侧边栏选择docker的历史版本来安装,以满足低buildnumber;