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

Update to docker v25 #3759

Merged
merged 3 commits into from
Feb 6, 2024

Conversation

arnaldo2792
Copy link
Contributor

@arnaldo2792 arnaldo2792 commented Feb 5, 2024

Issue number:

Closes #3756

Description of changes:

This PR updates to Docker v25 and the ECS agent to 1.81.0, since this is the version where v25 support was implemented. The patch to support Bottlerocket's OCI capabilities API was refactored to work with the new Docker version. The logic is the same, but the structures used by Docker changed slightly.

Two clarifications were added to the clarify.toml file for docker-engine since two of the v25's dependencies' licenses were not identified by the license-tool. I checked each library's repository to confirm the licenses.

Testing done:

In both aws-ecs-1 and aws-ecs-2 x86_64, I validated that the internal testing suite ran successfully.
In both aws-ecs-1 and aws-ecs-2 x86_64, I validated the OCI capabilities set in the API are applied in the container's configuration.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

As part of this update, the package `docker-proxy` was removed  since
starting with docker 22 the sources of the `libnetwork` are vended
through the moby repository.

Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
This is to match the version of the docker-engine package

Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
This is the version that introduced support for Docker 25

Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
@arnaldo2792
Copy link
Contributor Author

Forced push includes:

  • Updated clarify.toml as suggested
  • Added note to Moby patch

@arnaldo2792 arnaldo2792 marked this pull request as ready for review February 5, 2024 21:24
@arnaldo2792 arnaldo2792 mentioned this pull request Feb 5, 2024
5 tasks
@arnaldo2792 arnaldo2792 merged commit 87e6d30 into bottlerocket-os:develop Feb 6, 2024
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update ECS agent to v1.81.0 and Docker to v25
4 participants