本文将介绍Win10安装Docker Desktop的步骤,支持Window家庭版安装Docker Desktop
Docker Desktop官网地址下载
https://www.docker.com/products/docker-desktop/
开启Hyper-V
执行命令开启Hyper-V
1
2
3
4
5
6
7
8
9
|
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
|
家庭版伪装成专业版
执行命令伪装成专业版
1
2
|
REG ADD "HKEY_LOCAL_MACHINE\software\Microsoft\Windows NT\CurrentVersion" /v EditionId /T REG_EXPAND_SZ /d Professional /F
pause
|
如果以后要恢复原状可以执行以下命令
1
2
|
REG ADD "HKEY_LOCAL_MACHINE\software\Microsoft\Windows NT\CurrentVersion" /v EditionId /T REG_SZ /d CoreCountrySpecific /F
pause
|
安装Docker Desktop
执行Docker Desktop Installer.exe