Skip to content

Error installing docker on Windows Server 2016 #68

@detlefs

Description

@detlefs

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions