1.官网下载了docker desktop,https://www.docker.com/get-started;
2.打开Hyper-V;
3.安装完成后,此时打开会报下面的错。
折腾了很久也没搞定,而且还把电脑弄蓝屏了,但最终还是搞定了,方法如下:
-
Open
Windows Security
-
Open
App & Browser control
-
Click
Exploit protection settings
-
Switch to
Program settings
tab -
Locate
C:WINDOWSSystem32mcompute.exe
in the list and expand it -
Click
Edit
-
Scroll down to
Control flow guard (CFG)
and uncheckOverride system settings
-
Start vmcompute from powershell
net start vmcompute
(or alternately start theHyper-V Host Compute Service
from the system Services app)
此时docker desktop可以正常开启;