首先勾选Containers和Hyper-v

Docker安装出现错误

如果没有Containers 那怎么办呢?

先创建一个containers.bat文件,然后将下边这些拷贝进去,用管理员身份执行——>重启即可

pushd “%~dp0”
dir /b %SystemRoot%\servicing\Packages*containers*.mum >containers.txt
for /f %%i in (‘findstr /i . containers.txt 2^>nul’) do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages%%i"
del containers.txt
Dism /online /enable-feature /featurename:Containers -All /LimitAccess /ALL
pause

成功是这样的

Docker安装出现错误

再具体详细安装介绍请看官方文档

https://docs.docker.com/docker-for-windows/install/

相关文章:

  • 2021-11-22
  • 2022-01-08
  • 2021-05-14
  • 2022-01-06
  • 2022-01-18
  • 2021-06-27
  • 2021-12-19
猜你喜欢
  • 2021-11-04
  • 2021-10-19
  • 2021-05-13
  • 2021-08-13
  • 2021-12-06
  • 2021-09-07
相关资源
相似解决方案