Skip to content

Commit d42a63e

Browse files
committed
chore: update docker api version
1 parent f0b3e6a commit d42a63e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

samcli/lib/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
DOCKER_MIN_API_VERSION = "1.35"
1+
DOCKER_MIN_API_VERSION = "1.44"

tests/unit/local/docker/test_container_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
ContainerArchiveImageLoadFailedException,
2323
ContainerInvalidSocketPathException,
2424
)
25+
from samcli.lib.constants import DOCKER_MIN_API_VERSION
2526

2627

2728
class BaseContainerClientTestCase(TestCase):
@@ -31,7 +32,7 @@ def setUp(self):
3132
"""Set up common test fixtures"""
3233
self.finch_socket = "unix:///tmp/finch.sock"
3334
self.docker_socket = "unix:///var/run/docker.sock"
34-
self.default_version = "1.35"
35+
self.default_version = DOCKER_MIN_API_VERSION
3536

3637
def create_mock_container_client(self, client_class, methods_to_bind=None):
3738
"""Create a mock container client with bound methods for testing."""

0 commit comments

Comments
 (0)