How to install docker in aws windows server 2022 Data center?

Hi All ,
How to install Docker in aws windows 2022 Datacenter server . when we tried to install we getting some error.
what we tried :
Install-Module -Name DockerMsftProvider -Repository PSGallery –Force
Install-Package -Name docker -ProviderName DockerMsftProvider

what we get :
WARNING: Cannot find path
‘C:\Users\ADMINI~1\AppData\Local\Temp\2\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.
At line:1 char:1

  • Install-Package -Name docker -ProviderName DockerMsftProvider
  •   + CategoryInfo          : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Ex
     ception
      + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
    
    

If anyone knows solution for this ,suggesting with example .

Thanking you,
Karthik.k

Have you read Microsoft’s documentation about it?

https://learn.microsoft.com/en-us/virtualization/windowscontainers/quick-start/set-up-environment?tabs=dockerce#windows-server-1