@anshulkapoor welcome to the VHT forums! I believe Microsoft has deprecated the Docker provider now in favor of containerd. I will take a look in my lab at the modified steps needed and report back here.
@anshulkapoor Can you use this command instead?
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1" -o install-docker-ce.ps1 .\install-docker-ce.ps1
Thank you very much Brandon. This helped me to installed the docker on windows server 2022 in AWS ec2 instance


