zoukankan      html  css  js  c++  java
  • Win10家庭版安装Docker Desktop报错:Containers Windows Feature is not available

    安装步骤参照 win10家庭版安装Docker for Windows

    过程中 Installation failed

    Containers Windows Feature is not available
       在 CommunityInstaller.EnableFeaturesAction.GetFeaturesToEnable()
       在 CommunityInstaller.EnableFeaturesAction.<DoAsync>d__29.MoveNext()
    --- 引发异常的上一位置中堆栈跟踪的末尾 ---
       在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       在 CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__29.MoveNext()
    --- 引发异常的上一位置中堆栈跟踪的末尾 ---
       在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       在 CommunityInstaller.InstallWorkflow.<ProcessAsync>d__24.MoveNext()

    解决办法,把以下命令保存成批处理文件,以管理员身份运行

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

    然后重启重新安装Docker Desktop Installer.exe即可

  • 相关阅读:
    sublime显示当前文件的编码格式
    关于jquery中html()、text()、val()的区别
    bit,Byte,B,KB,MB,GB
    python之序列操作
    编程常用密匙
    js数组操作
    ob函数的使用
    php使用zlib实现gzip压缩
    js兼容性汇总
    centos7下源码编译安装mysql5.7
  • 原文地址:https://www.cnblogs.com/zhiqsyr/p/12364124.html
Copyright © 2011-2022 走看看