Skip to content

Conversation

@elliot-barn
Copy link
Contributor

pinning docker api version due to docker client error: Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.43

@elliot-barn elliot-barn requested a review from a team as a code owner November 27, 2025 21:06
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request pins the Docker API version to 1.43 to resolve a client-server version mismatch error in the CI environment. The change involves setting the DOCKER_API_VERSION environment variable in the base.test.Dockerfile, which is the correct approach. I have one suggestion to add a comment to improve the maintainability of this change.

ENV RAY_INSTALL_JAVA=0
ENV BUILDKITE_BAZEL_CACHE_URL=${BUILDKITE_BAZEL_CACHE_URL}

ENV DOCKER_API_VERSION=1.43
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

To improve maintainability, it's good practice to add a comment explaining why this specific Docker API version is being pinned. This provides context for future developers, especially when the CI's Docker daemon is upgraded.

# Pin Docker API version to be compatible with the Docker daemon on CI.
# The daemon's maximum supported API version is 1.43.
ENV DOCKER_API_VERSION=1.43

Signed-off-by: elliot-barn <[email protected]>
--cache-test-results --parallelism-per-worker 2
--build-name oss-ci-base_test-py3.10
--build-type skip
- docker version
Copy link

Choose a reason for hiding this comment

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

Bug: Debug command accidentally committed to CI configuration

The docker version command appears to be debugging code left over from investigating the Docker API version issue. It's only added to the "reef-tests" job and not to other similar jobs in the file, and it doesn't contribute to the actual fix (which is the DOCKER_API_VERSION environment variable in the Dockerfile). This was likely used during development to verify Docker configuration and inadvertently included in the PR.

Fix in Cursor Fix in Web

@aslonnie
Copy link
Collaborator

the docker version pin fix is this one:
#58579

@ray-gardener ray-gardener bot added the devprod label Nov 28, 2025
@aslonnie aslonnie closed this Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants