From 5ed76c549073f372144b2cd045ea1978270b68ea Mon Sep 17 00:00:00 2001 From: Seshu Brahma Date: Wed, 12 Nov 2025 14:55:17 -0800 Subject: [PATCH] chore: update docker api version --- samcli/lib/constants.py | 2 +- tests/unit/local/docker/test_container_client.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/samcli/lib/constants.py b/samcli/lib/constants.py index ec9dd1d3f57..3deabfed085 100644 --- a/samcli/lib/constants.py +++ b/samcli/lib/constants.py @@ -1 +1 @@ -DOCKER_MIN_API_VERSION = "1.35" +DOCKER_MIN_API_VERSION = "1.44" diff --git a/tests/unit/local/docker/test_container_client.py b/tests/unit/local/docker/test_container_client.py index 501670a291d..1b071848234 100644 --- a/tests/unit/local/docker/test_container_client.py +++ b/tests/unit/local/docker/test_container_client.py @@ -22,6 +22,7 @@ ContainerArchiveImageLoadFailedException, ContainerInvalidSocketPathException, ) +from samcli.lib.constants import DOCKER_MIN_API_VERSION class BaseContainerClientTestCase(TestCase): @@ -31,7 +32,7 @@ def setUp(self): """Set up common test fixtures""" self.finch_socket = "unix:///tmp/finch.sock" self.docker_socket = "unix:///var/run/docker.sock" - self.default_version = "1.35" + self.default_version = DOCKER_MIN_API_VERSION def create_mock_container_client(self, client_class, methods_to_bind=None): """Create a mock container client with bound methods for testing."""