docker报错Hardware assisted virtualization and data execution protection must be enabled in the BIOS

windows启动docker,报错

Hardware assisted virtualization and data execution protection must be enabled in the BIOS

解决办法:
使用如下命令重启hyperv服务

bcdedit /set hypervisorlaunchtype auto