Docker 1.13.0 on Windows dropped support for the 1.17 API version used by the ECS agent. Supporting Docker >= 1.13.0 on Windows means moving to an API >= 1.24. There are many differences between 1.17 and 1.24, and we'll need to maintain both codepaths in order to continue supporting Docker < 1.12.0 on Linux. Of particular concern are the changes involving the Config and HostConfig in Docker's CreateContainer and StartContainer APIs as well as the structure of information returned through Inspect calls. Because some of the Config and HostConfig content is generated by the ECS backend, we'll need to make changes there as well as in the agent in order to support Docker >= 1.13.0 on Windows.
Support for old APIs was removed in https://github.com/docker/docker/pull/27908.
Should have waited for 17 for MVB :p
On Mar 13, 2017, at 10:00 AM, Samuel Karp <[email protected]notifications@github.com> wrote:
Support for old APIs was removed in docker/docker#27908https://github.com/docker/docker/pull/27908.
-
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/aws/amazon-ecs-agent/issues/729#issuecomment-286171703, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAAjSFgA_Bh77XnGgaLj9gWBfH1L9kRjks5rlXXUgaJpZM4Mbbl3.
How would that have helped?
On 03/13/2017 10:07 AM, Scott Windsor wrote:
Should have waited for 17 for MVB :p
- scott
On Mar 13, 2017, at 10:00 AM, Samuel Karp
<[email protected]notifications@github.com> wrote:Support for old APIs was removed in
docker/docker#27908https://github.com/docker/docker/pull/27908.-
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on
GitHubhttps://github.com/aws/amazon-ecs-agent/issues/729#issuecomment-286171703,
or mute the
threadhttps://github.com/notifications/unsubscribe-auth/AAAjSFgA_Bh77XnGgaLj9gWBfH1L9kRjks5rlXXUgaJpZM4Mbbl3.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/amazon-ecs-agent/issues/729#issuecomment-286174502,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtB1jVFeXMN03ECadem8dY_mDgE_YRXks5rlXfdgaJpZM4Mbbl3.
--
Samuel Karp
Any update on this? The current version of docker on windows doesn't even support docker stats so autoscaling groups don't work.
@panmanphil This is currently being worked on in https://github.com/aws/amazon-ecs-agent/pull/783.
An update here: while we've been working on support for newer API versions, we've run into some issues with pulling the microsoft/windowsservercore:latest image with the newer API version. We're holding off on releasing a new agent for Windows until we've addressed these issues.
As mentioned in #942 the latest Windows Core With Containers AMI (image name: Windows_Server-2016-English-Core-ContainersLatest-2017.08.09, Ami Id: ami-4a16f432) is running a non-supported version of docker. Does this mean that we will need to stick with Windows_Server-2016-English-Core-Containers-2017.08.09 (Ami Id: ami-ad1afad5) going forward until the agent can support later versions of docker?
@JonCubed, we created the new Windows_Server-2016-English-Core-ContainersLatest-* AMI for customers who would like to have the latest released version of Docker. Since the AMI is built monthly (to pick up Windows patches), the idea here is that it will also pick up whatever version of Docker is released. The version is the same one you get from installing the Docker package:
Install-Package -Name docker -ProviderName DockerMsftProvider
Windows_Server-2016-English-Core-Containers-* will continue to have the version of Docker that is compatible with ECS.
@EmmanuelTsouris thanks for explaining the difference between the AMIs
As I mentioned in https://github.com/aws/amazon-ecs-agent/issues/729#issuecomment-324696792, we were investigating a bug with pulling microsoft/windowsservercore:latest. We've now identified the bug as relating to logic intended to skip pulls for some containers.
https://github.com/aws/amazon-ecs-agent/pull/990 should fix this bug.
We've released ECS agent v1.14.5, which now works with newer versions of Docker on Windows.
Most helpful comment
Any update on this? The current version of docker on windows doesn't even support docker stats so autoscaling groups don't work.