windows10安装docker(本机为MateBook D 14)
虚拟化
1、打开bois虚拟化
开机按f12进入bios页面,将Virtualization Technology设置为enable
2、打开win10自带虚拟化
问题:突然发现我没有Hyper-V
将以下内容搞成一个cmd文件,运行后重启
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
下载docker
链接:https://pan.baidu.com/s/1uOOGW7-V-WqDzFmidxnL4w
提取码:q7zi
一顿无脑安装就行
问题:WSL 2 installation is incomplete
打开这个功能,如果发现已经打开,需要下载一个新的WSL:https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi