Docker.For.Win – Install fails on installationmanifest.json

来源:GK导航    date:2022-9-6    标签:,     admin

问题描述

Docker升级出现 Installation Failed:

Docker.For.Win – Install fails on installationmanifest.json
    Text from error:     Installing Docker for Windows      Docker for Windows      Installation failed      x      17.06.O-rc2-ce-win14      Could not find file 'C:Program FilesDockerDockerinstallationmanifest.json'.      at System.lO._Error.WinlOError(lnt32 errorCode, String maybeFullPath)      at System.lO.FileStream.lnit(String path, FileMode mode, FileAccess access, Int32 rights, Boolean      useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String      msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)      at System.lO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32      bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean      checkHost)      at System.lO.StreamReader..ctor(String path, Encoding encoding, Boolean      detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)      at System.lO.File.lnternalReadAllText(String path, Encoding encoding, Boolean checkHost)      at Lightweightlnstaller.UninstallWorkflow.<ProcessAsync>d_7.MoveNext()      End of stack trace from previous location where exception was thrown      at System. Runtime. ExceptionServices. Exception Dispatchl nfo. Throw()

解决办法

  1. Kill the installer process if it’s still running.
  2. Run Regedit.
  3. Run a quick backup of the registry by selecting File > Export (It is recommended that you set the export range to All.)
  4. Navigate to ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall
  5. If there is a Docker for Windows entry, delete key and all subkeys.
  6. Relaunch the installer, and you should no longer be prompted to update. The installer should proceed as a fresh install from this point.

1、关闭所有的安装进程

2、运行注册表(WIN+r), 在运行中输入:regedit

Docker.For.Win – Install fails on installationmanifest.json
Docker.For.Win – Install fails on installationmanifest.json

3、打开注册表 ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall

4、找到 Docker for Windows

Docker.For.Win – Install fails on installationmanifest.json

5、将右侧的支点全部删除。

可以将Docker恢复到最初的状态,然后可以重新安装或升级。

腾讯云限时秒杀【点击购买】

搬瓦工,CN2高速线路,1GB带宽,电信联通优化KVM,延迟低,速度快,建站稳定,搬瓦工BandwagonHost VPS优惠码BWH26FXH3HIQ,支持<支付宝> 【点击购买】!

Vultr$3.5日本节点,512M内存/500G流量/1G带宽,电信联通优化,延迟低,速度快【点击购买】!

阿里云香港、新加坡VPS/1核/1G/25G SSD/1T流量/30M带宽/年付¥288【点击购买】

Docker.For.Win – Install fails on installationmanifest.json

`微信`扫码 加好友