[英]Cannot enable Hyper-V service with Docker in windows 10
i have already enabled virtualization in my BIOS, and also enable it in Windows feature我已经在我的 BIOS 中启用了虚拟化,并且还在 Windows 功能中启用了它
furthermore, the android emulator with android studio working well, but when i try to run Docker for windows, i encounter this problem?此外,android 仿真器与 android 工作室运行良好,但当我尝试为 Z0F4137ED1502B50452D 运行 Docker 时,遇到这个问题?
i don't know where the problem is?我不知道问题出在哪里?
You need to autostart the hypervisor at startup.您需要在启动时自动启动管理程序。
Open a Powershell as Admin.以管理员身份打开 Powershell。 Paste the line:粘贴以下行:
bcdedit /set hypervisorlaunchtype auto
Then the hypervisor will start at the next boot and it should work.然后管理程序将在下一次启动时启动,它应该可以工作。 For future information see: https://d3v.one/windows-10-changing-hyper-v-support-at-boot-time/有关未来信息,请参阅: https://d3v.one/windows-10-sharing-hyper-v-support-at-boot-time/
In my case this worked for me More concrete steps:就我而言,这对我有用更具体的步骤:
got to 'Apps and Features.进入“应用程序和功能”。 Select Programs and Features on the right under related settings. Select Programs and Features 在右侧相关设置下。 Select Turn Windows Features on or off. Select 打开或关闭 Windows 功能。 Unselect Hyper-V and click OK.取消选择 Hyper-V,然后单击确定。 (So I disable it) Restart computer (所以我禁用它)重新启动计算机
After restart I go to: 'Apps and Features.重启后我 go 到:'应用程序和功能。 Select Programs and Features on the right under related settings. Select Programs and Features 在右侧相关设置下。 Select Turn Windows Features on or off. Select 打开或关闭 Windows 功能。 select Hyper-V and click OK. select Hyper-V 并单击确定。 (So I enable it) Computer restart (所以我启用它)计算机重启
After restart, then docker worked correctly.重启后,docker 工作正常。
What worked for my team was to make sure Containers and Hyper-V was enabled, then making sure Docker Desktop was updated.对我的团队有用的是确保容器和 Hyper-V 已启用,然后确保 Docker 桌面已更新。
Here are the steps which I did and it works for me:这是我所做的步骤,它对我有用:
Hyper-V
is checked in Windows feature
验证是否在Windows feature
中检查了Hyper-V
hyper-v
is enabled in your BIOS确保在您的 BIOS 中启用了hyper-v
bcdedit /set hypervisorlaunchtype auto
as Administrator in Powershell and reboot the PC在 Powershell 中以管理员身份运行bcdedit /set hypervisorlaunchtype auto
并重新启动 PC
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.