edrp.cn的Blog

学习,需要交流,欢迎大家和我共同来学习C#,ASP.NET,MS SQL Server开发Web项目,欢迎大家和我交流

博客园 首页 新随笔 联系 订阅 管理

禁用和启动Hyper-V:

使用管理员权限运行命令:bcdedit /set hypervisorlaunchtype off。

对应的打开Hyper-V的命令:bcdedit /set hypervisorlaunchtype auto。

然后重启电脑

An error occurred

Hardware assisted virtualization and data execution protection must be enabled in the BIOS. See https://docs.docker.com/docker-for-windows/troubleshoot/#virtualization-must-be-enabled 

运行Docker报错:Win10旗舰版

解决方法:

1:bcdedit /set hypervisorlaunchtype auto

2:dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All

如果问题仍然存在,重安装Hyper-V

进入控制面板 - > [程序] - > [Windows功能],完全取消选中所有与Hyper-V相关的组件。重启系统。

再次启用Hyper-V。重新开始。

posted on 2020-05-12 15:50  edrp.cn  阅读(1597)  评论(0编辑  收藏  举报