Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

Error installing docker on Windows Server 2016 #68

Open
detlefs opened this issue Oct 31, 2019 · 1 comment
Open

Error installing docker on Windows Server 2016 #68

detlefs opened this issue Oct 31, 2019 · 1 comment

Comments

@detlefs
Copy link

detlefs commented Oct 31, 2019

I get the following error when trying to install docker in an elevated PowerShell session:

Install-Package -Name docker -ProviderName DockerMsftProvider -Verbose -Force
VERBOSE: Using the provider 'DockerMsftProvider' for searching packages.
VERBOSE: Download size: 0.02MB
VERBOSE: Free space on the drive: 37784.7MB
VERBOSE: Downloading https://dockermsft.blob.core.windows.net/dockercontainer/DockerMsftIndex.json to
C:\Users\ADMINI1\AppData\Local\Temp\2\DockerMsftProvider\DockerDefault_DockerSearchIndex.json
VERBOSE: About to download
VERBOSE: Finished downloading
VERBOSE: Downloaded in 0 hours, 0 minutes, 0 seconds.
VERBOSE: Performing the operation "Install Package" on target "Package 'Docker' version '19.03.4' from
'DockerDefault'.".
VERBOSE: Containers feature is already installed. Skipping the install.
VERBOSE: Download size: 121.65MB
VERBOSE: Free space on the drive: 37784.66MB
VERBOSE: Downloading https://dockermsft.blob.core.windows.net/dockercontainer/docker-19-03-4.zip to
C:\Users\ADMINI
1\AppData\Local\Temp\2\DockerMsftProvider\Docker-19-03-4.zip
VERBOSE: About to download
VERBOSE: Finished downloading
VERBOSE: Downloaded in 0 hours, 0 minutes, 20 seconds.
VERBOSE: Verifying Hash of the downloaded file.
VERBOSE: Hash verified!
VERBOSE: Found C:\Users\ADMINI1\AppData\Local\Temp\2\DockerMsftProvider\Docker-19-03-4.zip to install.
VERBOSE: Trying to unzip : C:\Users\ADMINI
1\AppData\Local\Temp\2\DockerMsftProvider\Docker-19-03-4.zip
VERBOSE: Removing the archive: C:\Users\ADMINI~1\AppData\Local\Temp\2\DockerMsftProvider\Docker-19-03-4.zip
Install-Package : A parameter cannot be found that matches parameter name 'DestinationPath'.
At line:1 char:1

  • Install-Package -Name docker -ProviderName DockerMsftProvider -Verbos ...
  •   + CategoryInfo          : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package],
     Exception
      + FullyQualifiedErrorId : FailedToDownload,Install-Package,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallP
     ackage
    

PowerShell version is 5.1.14393.3053
Windows Server 2016 patches with all available patches up to today

Any idea how to fix this?

@slonopotamus
Copy link

You might want to take a look at Stevedore project as a way to install modern Docker for Windows containers on both Windows Server/Client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants