添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
爱笑的紫菜汤  ·  王俊·  6 月前    · 
讲道义的甘蔗  ·  Access Denied·  7 月前    · 
傲视众生的硬币  ·  Kunstlerschreibschrift ...·  9 月前    · 

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account
  • [x ] I have tried with the latest version of Docker Desktop
  • [x ] I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID:
  • Actual behavior

    Install fails with;

    Unpacking failed: Data Error
    at CommunityInstaller.InstallWorkflow.d__29.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at CommunityInstaller.InstallWorkflow.d__23.MoveNext()

    Expected behavior

    Install completes

    Information

  • Windows Version:
  • Docker Desktop Version:
  • WSL2 or Hyper-V backend?
  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM:
  • Output of & "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check

    & : The term 'C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe' is not recognized as the name of a
    cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
    that the path is correct and try again.
    At line:1 char:3

  • & "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" ...
  • + CategoryInfo          : ObjectNotFound: (C:\Program File...er.diagnose.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
              

    Similar issue with 4.12.0 (85629)
    Unpacking failed: File does not exist: C:\Users\dklem\AppData\Local\Temp\DockerDesktop\2zxk1ix4nxa
    v CommunityInstaller.InstallWorkflow.d__30.MoveNext()
    --- Konec trasování zásobníku z předchozího místa, ze kterého byla vyvolána výjimka ---
    v System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    v System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    v CommunityInstaller.InstallWorkflow.d__23.MoveNext()

    Similar issue with 4.13.0 (89412)
    Unpacking failed: Data Error
    в CommunityInstaller.InstallWorkflow.d__30.MoveNext()
    --- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
    в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    в CommunityInstaller.InstallWorkflow.d__23.MoveNext()

    Similar issue with 4.15.0 (93002)
    Unpacking failed: Data Error
    в CommunityInstaller.InstallWorkflow.d__30.MoveNext()
    --- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
    в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    в CommunityInstaller.InstallWorkflow.d__23.MoveNext()

    Getting the same issue with 4.16.1 (95567)

    Unpacking failed: Data Error
    at CommunityInstaller.InstallWorkflow.d__30.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at CommunityInstaller.InstallWorkflow.d__23.MoveNext()

    I have the same issue with Windows 11 Pro. Docker 4.17.1

    [2023-04-03T01:29:36.828448900Z][InstallWorkflow][E] Installation failed System.Exception: Unpacking failed: Data Error ---> SharpCompress.Compressors.LZMA.DataErrorException: Data Error
       at SharpCompress.Compressors.LZMA.Decoder.Code(Int32 dictionarySize, OutWindow outWindow, Decoder rangeDecoder)
       at SharpCompress.Compressors.LZMA.LzmaStream.Read(Byte[] buffer, Int32 offset, Int32 count)
       at System.IO.Stream.ReadByte()
       at SharpCompress.Compressors.LZMA.Bcj2DecoderStream.<Run>d__20.MoveNext()
       at SharpCompress.Compressors.LZMA.Bcj2DecoderStream.Read(Byte[] buffer, Int32 offset, Int32 count)
       at SharpCompress.IO.ReadOnlySubStream.Read(Byte[] buffer, Int32 offset, Int32 count)
       at SharpCompress.Common.EntryStream.Read(Byte[] buffer, Int32 offset, Int32 count)
       at SharpCompress.Utility.TransferTo(Stream source, Stream destination, Entry entry, IReaderExtractionListener readerExtractionListener)
       at SharpCompress.Readers.AbstractReader`2.Write(Stream writeStream)
       at SharpCompress.Readers.AbstractReader`2.WriteEntryTo(Stream writableStream)
       at System.Threading.Tasks.Task.Execute()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at CommunityInstaller.UnpackArtifactsStep.<DoAsync>d__37.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext()
       --- End of inner exception stack trace ---
       at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at CommunityInstaller.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()
    [2023-04-03T01:29:36.830448300Z][InstallWorkflow][I] Rollbacking component CommunityInstaller.ExtractManifestStep
    [2023-04-03T01:29:36.831448200Z][InstallWorkflow][I] Rollbacking component CommunityInstaller.DownloadStep
              

    I probably have found a fix.
    Applicable only if you have this error: "CommunityInstaller.InstallWorkflow.d__30.MoveNext()"
    Open admin PowerShell, run Get-ExecutionPolicy. If it returns Restricted, then run Set-ExecutionPolicy AllSigned.
    It's the same policy that doesn't allow to install Chocolatey, really, though you probably don't need to bypass it.