Docker Community Forums

Share and learn in the Docker community.

Problems installing docker on Server 2019

I’m new to docker and looking to install on my Server 2019 machine using a guide in the documentation. However i’m getting the following error, any idea what i’m doing wrong? I’ve had a search online and can’t find any answers so posting here.

Install-Package : A parameter cannot be found that matches parameter name ‘DestinationPath’.
At line:1 char:1

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

Install-Package Docker -ProviderName DockerMsftProvider -Force -verbose

VERBOSE: Using the provider ‘DockerMsftProvider’ for searching packages.
VERBOSE: Download size: 0.02MB
VERBOSE: Free space on the drive: 45477.22MB
VERBOSE: Downloading https://dockermsft.blob.core.windows.net/dockercontainer/DockerMsftIndex.json to
C:\Users\ADMINI~1\AppData\Local\Temp\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.3’ from
‘DockerDefault’.”.
VERBOSE: Containers feature is already installed. Skipping the install.
VERBOSE: Download size: 121.65MB
VERBOSE: Free space on the drive: 45477.2MB
VERBOSE: Downloading https://dockermsft.blob.core.windows.net/dockercontainer/docker-19-03-3.zip to
C:\Users\ADMINI~1\AppData\Local\Temp\DockerMsftProvider\Docker-19-03-3.zip
VERBOSE: About to download
VERBOSE: Finished downloading
VERBOSE: Downloaded in 0 hours, 0 minutes, 21 seconds.
VERBOSE: Verifying Hash of the downloaded file.
VERBOSE: Hash verified!
VERBOSE: Found C:\Users\ADMINI~1\AppData\Local\Temp\DockerMsftProvider\Docker-19-03-3.zip to install.
VERBOSE: Trying to unzip : C:\Users\ADMINI~1\AppData\Local\Temp\DockerMsftProvider\Docker-19-03-3.zip
VERBOSE: Removing the archive: C:\Users\ADMINI~1\AppData\Local\Temp\DockerMsftProvider\Docker-19-03-3.zip

Install-Package : A parameter cannot be found that matches parameter name ‘DestinationPath’.

In case someone else has this issue in the future, removing Pscx solved the problem.