参考地址: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
一、安装Hyper-V 和 Containers
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*