win10 安装docker
https://docs.microsoft.com/zh-cn/windows/wsl/install-win10
其中如果win10家庭版没有hyper-v:
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
将上述命令粘入txt并存为.bat文件运行。
今天成功安装了docker在win10的虚拟机上,后续运行baseline。