相关文章推荐
坚强的铁板烧  ·  nginx ...·  4 周前    · 
乐观的甘蔗  ·  Alpine Docker ...·  1 周前    · 
火星上的烤地瓜  ·  JavaScript生成 5 ...·  5 月前    · 
着急的乌冬面  ·  [c#] ...·  7 月前    · 
飞奔的山羊  ·  KeyError: ...·  1 年前    · 

Hello

I have Windows Server 2022 Standard 21H2 Build 20348

I am trying to install the docker package.

First Step (Works OK)

Install-Module -Name DockerMsftProvider -Repository PSGallery -Force

But, When I try to run the command I get the following error message.

Install-Package -Name docker -ProviderName DockerMsftProvider

"WARNING: Cannot find path 'C:\Users\UserAA\AppData\Local\Temp\DockerMsftProvider\DockerDefault_DockerSearchIndex.json' because it does not exist.

WARNING: Cannot bind argument to parameter 'downloadURL' because it is an empty string.

WARNING: The property 'AbsoluteUri' cannot be found on this object. Verify that the property exists.

WARNING: The property 'RequestMessage' 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."

Can someone help me with this problem.

Best Regards,

Daniel Hernandez

Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications. PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.

I have the same issue

We cannot reach and resolve the DNS of the provided location: https://dockermsft.azureedge.net/dockercontainer/DockerMsftIndex.json

SOLUTION

I see, this service has been shut down since May 23rd 2023, @W. Daniel Hernandez see and follow the steps provided here: https://github.com/OneGet/MicrosoftDockerProvider