Skip to content

chore: update docker api version#8429

Merged
seshubaws merged 4 commits into
developfrom
fix/docker-version
Nov 14, 2025
Merged

chore: update docker api version#8429
seshubaws merged 4 commits into
developfrom
fix/docker-version

Conversation

@seshubaws

Copy link
Copy Markdown
Contributor

Which issue(s) does this change fix?

#8427
Relevant: testcontainers/testcontainers-java#11212

Why is this change necessary?

Docker API has increased their minimum version from 1.24 to 1.44

How does it address the issue?

Updated our docker api version and updated tests.

What side effects does this change have?

Mandatory Checklist

PRs will only be reviewed after checklist is complete

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@seshubaws
seshubaws requested a review from a team as a code owner November 12, 2025 23:36
@seshubaws seshubaws mentioned this pull request Nov 12, 2025
9 tasks
@seshubaws

Copy link
Copy Markdown
Contributor Author

Need to get an update in AppVeyor's Windows env to have 1.44 version of docker api too before merging this, it's currently 1.40. Cut a ticket to them

valerena
valerena previously approved these changes Nov 13, 2025
@roger-zhangg

Copy link
Copy Markdown
Member

https://github.com/aws/aws-sam-cli/actions/runs/19347164833
wait a bit for the integ test

@roger-zhangg

Copy link
Copy Markdown
Member

Finch has some compatibility issue, checking now

@seshubaws

Copy link
Copy Markdown
Contributor Author

@seshubaws
seshubaws requested a review from valerena November 14, 2025 18:37
@seshubaws

Copy link
Copy Markdown
Contributor Author

https://github.com/aws/aws-sam-cli/actions/runs/19355963514 most integ tests passing now

self.docker_socket = "unix:///var/run/docker.sock"
self.default_version = "1.35"
self.docker_version = DOCKER_MIN_API_VERSION
self.finch_version = "1.35" # TODO: Update when Finch updates to latest Docker API version

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be another variable FINCH_MIN_API_VERSION or something like that to be used in all places, but we can do that separately if we want to push this soon.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I left it hardcoded bc the Finch team said they would update to the Docker min version soon, so ideally it should just take DOCKER_MIN_API_VERSION

@seshubaws
seshubaws added this pull request to the merge queue Nov 14, 2025
Merged via the queue into develop with commit 57119b4 Nov 14, 2025
65 of 71 checks passed
@vicheey
vicheey deleted the fix/docker-version branch November 24, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants