企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 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 ``` ![](https://img.kancloud.cn/8b/c5/8bc57e660c5a87db300a8677b296c313_427x602.png) ## 2. 伪装成win10专业版 ``` REG ADD "HKEY_LOCAL_MACHINE\software\Microsoft\Windows NT\CurrentVersion" /v EditionId /T REG_EXPAND_SZ /d Professional /F ``` ## 3. 解决“Containers Windows Feature is not available”,需要安装容器 ``` pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*containers*.mum >containers.txt for /f %%i in ('findstr /i . containers.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" del containers.txt Dism /online /enable-feature /featurename:Containers -All /LimitAccess /ALL pause ``` ## 4. 下载Docker Desktop > 地址:[https://store.docker.com/editions/community/docker-ce-desktop-windows](https://store.docker.com/editions/community/docker-ce-desktop-windows) > 点击“Get Docker” > 安装过程中,切勿选择第3项的容器安装 ## 5. 更换镜像源地址 > 镜像源地址:https://registry.docker-cn.com > 点击Apply后会重启Docker ![](https://img.kancloud.cn/39/6a/396acbf68e364aafc0060e67206b2115_1040x612.jpg)