下载地址:https://www.docker-cn/
如果你不想用Docker Toolbox ,一定要用Docker Desktop,如下:(针对Windows10家庭版,如果不是,那还是用Docker Toolbox)
no.1 新建文本文档粘贴以下代码
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 /featuren
下载地址:https://www.docker-cn/
如果你不想用Docker Toolbox ,一定要用Docker Desktop,如下:(针对Windows10家庭版,如果不是,那还是用Docker Toolbox)
no.1 新建文本文档粘贴以下代码
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 /featuren