admin管理员组

文章数量:1577818

win10家庭版伪装为win10专业版安装docker-desktop

复制下面代码到新建txt里,并将其后缀修改为.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

运行完成后打开Hyper-v


cmd命令中运行regedit,打开注册表

HKEY_LOCAL_MACHINE\software\Microsoft\WindowsNT\CurrentVersion

右侧找到EditionId,右键点击EditionId 选择“修改”,在弹出的对话框中将第二项“数值数据”的内容改为Professional,然后点击确定。
重启电脑。

最后下载docker-desktop,直接安装即可
附上链接
https://www.docker/products/docker-desktop

本文标签: 家庭版DesktopDocker