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的勾选取消即可

posted @ 2024-03-22 10:17  Helios_Fz  阅读(28)  评论(0编辑  收藏  举报