Docker EE on Windows Server 2016 fails to install

  docker, windows-server

Under Windows Server 2016, first, I was directed to do this:

PS C:UsersAdministrator>  [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Then, following instructions from here I type:

Install-Module DockerMsftProvider -Force

which runs fine. However, when I try:

Install-Package Docker -ProviderName DockerMsftProvider -Force

I get this error:

PS C:UsersAdministrator> Install-Package Docker -ProviderName DockerMsftProvider -Force
WARNING: Cannot find path
'C:UsersADMINI~1AppDataLocalTempDockerMsftProviderDockerDefault_DockerSearchIndex.json' because it does not
exist.
WARNING: The property 'Content' cannot be found on this object. Verify that the property exists.
Install-Package : No match was found for the specified search criteria and package name 'Docker'. Try
Get-PackageSource to see all available registered package sources.
At line:1 char:1
+ Install-Package Docker -ProviderName DockerMsftProvider -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Ex
   ception
    + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

Not sure what to do next. I have tried to search on this error, but no help?

Source: Docker Questions

LEAVE A COMMENT