-
Notifications
You must be signed in to change notification settings - Fork 618
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
Incompatible with Docker v25 (API 1.44) #4074
Comments
I am having a similar problem within our stack. Workaround Step for Ubuntu 20.04-
Hopefully, the dependency issue will be fixed soon. |
Looks like there's an open PR for this here #4075 so Docker 25 support should land soon. |
Another workaround that resolved the issue for us in the meantime was to follow the advice in Docker's deprecation notice from their new v25.0.0 release: https://docs.docker.com/engine/deprecated/#deprecate-legacy-api-versions
The summary is to add an environment variable to the Docker daemon environment lowering the minimum API requirement, to allow the ECS agent to continue using the older API until this issue is fixed and released. As they explained, this is only meant to be a temporary workaround for clients that we can't update ourselves such as this ECS agent.
However, this was impacting our production stack and others I'm sure. So assuming you're using systemd:
We use SaltStack so applying that fix to our affected servers was relatively quick and easy, without needing to compromise and downgrade Docker itself. |
Close this issue as the fix is released with ECS Agent version 1.81.0. Thanks. |
Summary
The ECS Agent is not compatible with the newest version of Docker.
Description
With Docker version 25, the minimum API version is now 1.24. The ECS Agent will fail to start with the following error on this Docker version:
This is shown with the
docker version
output:Our temporary fix was to downgrade Docker back to version 24.0.7 which has a minimum API version of 1.12. This resolves the issue and allows the ECS Agent to start for the time being.
Expected Behavior
The ECS Agent should start with Docker version 25.
Observed Behavior
The ECS agent crashes with the error above.
Environment Details
The text was updated successfully, but these errors were encountered: