amazon-ecs-agent icon indicating copy to clipboard operation
amazon-ecs-agent copied to clipboard

Unable to install in windows server 2022

Open raphael5178 opened this issue 3 years ago • 5 comments

Summary

When i install agent o windows server 2022 i got this error: error windows 2022 docker

Description

I believe it's because the OneGet/MicrosoftDockerProvider provider is deprecated. image

however if i install docker manually following this article. image

agent works fine.

raphael5178 avatar Jun 20 '23 15:06 raphael5178

Thank you for bringing this to our attention. We will be taking a look at this issue!

arun-annamalai avatar Sep 15 '23 18:09 arun-annamalai

What version of agent/bootstrap are you using? This was fixed a while back

jterry75 avatar Sep 15 '23 21:09 jterry75

how much time? because issue was open 2 months ago

i'm installing agent using ecs register external instance,

I believe that the command generated by the AWS panel uses the latest version.

raphael5178 avatar Sep 15 '23 21:09 raphael5178

So the ECS Windows init script does not support installing container runtime at the moment. This is because we shifted from using Docker EE to Docker CE. Presently, the Docker CE artifacts are published as part of ECS Windows Anywhere i.e. https://amazon-ecs-agent.s3.amazonaws.com/ECSAnywhereWindowsArtifacts.zip.

For future AMI release, we will make the changes in our init script to install docker CE using the above archive.

rawahars avatar Sep 18 '23 18:09 rawahars

The fix for this has been merged and will be released with our January AMIs. Thank you for your patience.

jiuchoe4 avatar Dec 15 '23 20:12 jiuchoe4