Win10家庭版安装docker desktop

1、开启Hyper-V
在桌面新建hyperv.cmd文件,内容如下:

pushd "%~dp0"

dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt

for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"

del hyper-v.txt

Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL

以管理员身份执行hyperv.cmd文件,如果系统要你重启,便重启。
2. 在 控制面板>程序和功能>启用或关闭Windows功能中打开Hyper-V

3. 查看CPU虚拟化是否打开(任务管理器)

posted on 2022-02-04 22:37  环保未来  阅读(154)  评论(0编辑  收藏  举报

导航