none
Unable to Install Docker on Windows Server 2016 | Package 'DockerMsftProvider' failed to be installed because: End of Central Directory record could not be found. RRS feed

  • Question

  • Docker Installation fails

    Install-Module -Name DockerMsftProvider -Repository PSGallery –Force


    Windows PowerShell
    Copyright (C) 2016 Microsoft Corporation. All rights reserved.

    PS C:\WINDOWS\system32> Install-Module -Name DockerMsftProvider -Repository PSGallery –Force

    NuGet provider is required to continue
    PowerShellGet requires NuGet provider version '2.8.5.201' or newer to interact with NuGet-based repositories. The NuGet
     provider must be available in 'C:\Program Files\PackageManagement\ProviderAssemblies' or
    'C:\Users\User\AppData\Local\PackageManagement\ProviderAssemblies'. You can also install the NuGet provider by
    running 'Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force'. Do you want PowerShellGet to install
    and import the NuGet provider now?
    [Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): Y
    PackageManagement\Install-Package : Package 'DockerMsftProvider' failed to be installed because: End of Central Directory record could not be found.
    At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1772 char:21
    + ...          $null = PackageManagement\Install-Package @PSBoundParameters
    +                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidResult: (DockerMsftProvider:String) [Install-Package], Exception
        + FullyQualifiedErrorId : Package '{0}' failed to be installed because: {1},Microsoft.PowerShell.PackageManagement
       .Cmdlets.InstallPackage

    Additional Information -

    O/P from $PSVersionTable
    PS C:\WINDOWS\system32> $PSVersionTable

    Name                           Value
    ----                           -----
    PSVersion                      5.1.14393.2636
    PSEdition                      Desktop
    PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
    BuildVersion                   10.0.14393.2636
    CLRVersion                     4.0.30319.42000
    WSManStackVersion              3.0
    PSRemotingProtocolVersion      2.3
    SerializationVersion           1.1.0.1



    Thursday, February 14, 2019 10:56 AM

Answers

  • Greetings,

    You can install Docker EE by using following doc as well.

    https://docs.docker.com/install/windows/docker-ee/#use-a-script-to-install-docker-ee


    Sic Parvis Magna

    Friday, February 15, 2019 1:12 AM

All replies

  • Greetings,

    You can install Docker EE by using following doc as well.

    https://docs.docker.com/install/windows/docker-ee/#use-a-script-to-install-docker-ee


    Sic Parvis Magna

    Friday, February 15, 2019 1:12 AM
  • Hi thank you for your reply.

    I was able to install docker using the script as per instructions in the link provided.

    https://docs.docker.com/install/windows/docker-ee/#use-a-script-to-install-docker-ee

    I am just curious what could be causing the powershell install-module command fail

    Install-Module -Name DockerMsftProvider -Repository PSGallery –Force

    PackageManagement\Install-Package : Package 'DockerMsftProvider' failed to be installed because: End of Central Directory record could not be found.


    Thanks,

    Ashish



    Friday, February 15, 2019 11:16 AM
  • Sorry, I don't know. Maybe they are optimizing the backend service.

    Sic Parvis Magna

    Monday, February 18, 2019 12:51 AM
  • Greatness from small beginnings
    Saturday, September 26, 2020 11:23 AM