添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

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