Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ECS] [BUG]: Support for Docker version 25.0 with ECS-Agent #2267

Closed
awsjake opened this issue Jan 19, 2024 · 3 comments
Closed

[ECS] [BUG]: Support for Docker version 25.0 with ECS-Agent #2267

awsjake opened this issue Jan 19, 2024 · 3 comments
Labels
Proposed Community submitted issue

Comments

@awsjake
Copy link

awsjake commented Jan 19, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request
What do you want us to build?
ECS Agent support for Docker version 25.0 and higher

Which service(s) is this request for?
ECS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
For instances that are not running the ECS Optimized AMI, where the Docker version and ECS agent version is preconfigured, launching new instances that pull the latest docker version will fail to run the ECS agent.

For instances that launch and install the latest version of Docker, downtime occurs, as no Container Instances will register with the ECS API until the version is downgraded.

Docker version 25.0 was released January 19, 2024

The new version prevents the pause container from running with the following error:
Failed to load pause container: container load: failed to load container image: /images/amazon-ecs-pause.tar : Error response from daemon: client version 1.21 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version" module=agent.go

Are you currently working around this issue?
Downgrade Docker to version 24.0.7

Additional context
Upgrading the ECS-Agent to the latest 1.80.0 does not have support for Docker 25.0

@awsjake awsjake added the Proposed Community submitted issue label Jan 19, 2024
@sparrc
Copy link

sparrc commented Jan 19, 2024

Workaround for ECS Anywhere customers:

add flag --docker-install-source distro to the ecs-anywhere-install.sh script, as in:

sudo bash /tmp/ecs-anywhere-install.sh --region "us-west-2" --cluster "XXX" --activation-id "XXX" --activation-code "XXX" --docker-install-source distro

@awsjake
Copy link
Author

awsjake commented Feb 6, 2024

ECS Agent version 1.81.0 fixes this issue and is released.

1 similar comment
@awsjake
Copy link
Author

awsjake commented Feb 6, 2024

ECS Agent version 1.81.0 fixes this issue and is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Proposed Community submitted issue
Projects
None yet
Development

No branches or pull requests

2 participants