赞
踩
下载官网:https://www.docker.com/products/docker-desktop/
Hyper-V
选项的,按照以下步骤
Hyper-V.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
wsl --help
命令查看
wsl --set-default-version 2
通过该命令设置Power Shell
,并执行如下两行命令cd "C:\Program Files\Docker\Docker" ./DockerCli.exe -SwitchDaemon
Window PowerShll
,执行命令 wsl --update
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。