Docker - Docker问题汇总
Docker问题汇总
安装docker desktop报错Hardware assisted virtualization and data execution protection must be enabled in the BIOS
检查是否启用了虚拟化
打开windows的【启用或关闭windows功能】,查看是否安装Hyper-V
重启 Hyper-V
bcdedit /set hypervisorlaunchtype auto
之后再重启电脑即可
wsl2的Error 0x80370102
执行下列命令
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
更改wsl2为wsl1
wsl --set-default-version 1
在安装Docker DeskTop的时候把WSL2的勾选取消即可