Docker desktop on w...
 
Notifications
Clear all

Docker desktop on windows server 2022 in AWS Ec2 instance

17 Posts
2 Users
2 Reactions
1,905 Views
Posts: 8
Topic starter
(@anshulkapoor)
Active Member
Joined: 11 months ago

Hi,

ย 

i tried the instructions you have me tioned in the video but I am getting the error while installing the package

Command

1. Install-Module -Name DockerMsftProvider -Force

2. Install-Package -Name docker -ProviderName DockerMsftProvider

ย 

error - Cannot find the path

image

ย 

16 Replies
Brandon Lee
Posts: 398
Admin
(@brandon-lee)
Member
Joined: 14 years ago

@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.

Reply
Brandon Lee
Posts: 398
Admin
(@brandon-lee)
Member
Joined: 14 years ago

@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
Reply
Posts: 8
Topic starter
(@anshulkapoor)
Active Member
Joined: 11 months ago

Thanks for quick responseย 

i tried the same command i am able to invoke the web URL but while using complete command i am getting below error.

image

really appreciate you helpย 

ย 

Reply
1 Reply
Brandon Lee
Admin
(@brandon-lee)
Joined: 14 years ago

Member
Posts: 398

@anshulkapoor Actually it looks like it is run together with the first line. Run this command first:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1" -o install-docker-ce.ps1

Then, run this command:

.\install-docker-ce.ps1
Reply
Posts: 8
Topic starter
(@anshulkapoor)
Active Member
Joined: 11 months ago

Thank you very much Brandon. This helped me to installed the docker on windows server 2022 in AWS ec2 instanceย 

Reply
1 Reply
Brandon Lee
Admin
(@brandon-lee)
Joined: 14 years ago

Member
Posts: 398

@anshulkapoor Awesome! Glad it is working now. Feel free to create any new topics on the forum as you need or anything you want to share. Any cool projects you are working on with your AWS EC2 instance running Docker?

Reply
Page 1 / 2