赞
踩
参考地址:https://itnext.io/install-docker-on-windows-10-home-d8e621997c1d
安装问题:one prerequisite is not fulfilled.Docker Desktop requires Windows 10 Pro or Enterprise version 15063 to run
1. 创建文件InstallHyperV.bat,并以管理员身份运行
- 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
- pause
2. 创建文件InstallContainers.bat,并以管理员身份运行
- 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
3. 安装完成后重启电脑
1. 按Windows + R并执行regedit命令
2. 找到\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion目录下的EditionID文件
3. 修改EditionID文件Professional
1. 下载地址:https://hub.docker.com/editions/community/docker-ce-desktop-windows
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。