windows10家庭版,安装docker

一、下载安装docker

参考菜鸟教程:https://www.runoob.com/docker/windows-docker-install.html

1.访问https://www.docker.com/get-started

2.

3.

二、开启Hyper-V

1.新建 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

2.以管理员身份执行hyperv.cmd文件。

注:如果系统要你重启,便重启。

三、 伪装成win10专业版

以管理员身份打开cmd。
执行如下命令:

REG ADD "HKEY_LOCAL_MACHINE\software\Microsoft\Windows NT\CurrentVersion" /v EditionId /T REG_EXPAND_SZ /d Professional /F

参考:win10家庭版安装Docker for Windows

猜你喜欢

转载自blog.csdn.net/weixin_40455437/article/details/107969574