Skip to content

docker: update Python Docker SDK dependency#1130

Open
francdoc wants to merge 1 commit into
google-deepmind:mainfrom
francdoc:docker/1066-update-python-docker-sdk
Open

docker: update Python Docker SDK dependency#1130
francdoc wants to merge 1 commit into
google-deepmind:mainfrom
francdoc:docker/1066-update-python-docker-sdk

Conversation

@francdoc

@francdoc francdoc commented Jun 11, 2026

Copy link
Copy Markdown

Fixes #1066.

Hi, docker/run_docker.py depends on the Python Docker SDK, but docker/requirements.txt still pins docker==5.0.0. Newer Docker/Python dependency stacks can fail before the container starts with errors such as an unsupported http+docker URL scheme. As seen in #1066.

This PR updates the Python Docker SDK dependency to docker==7.1.0. The launcher still imports successfully with this version and the Docker SDK types used by run_docker.py remain available.

Validation:

  • git diff --check
  • temporary venv: python -m pip install -r docker/requirements.txt
  • python -m py_compile docker/run_docker.py
  • verified docker==7.1.0 exposes docker.types.Mount and docker.types.DeviceRequest

Not performed:

  • Docker container run
  • AlphaFold runtime test
  • GPU/CUDA validation

Update the Python Docker SDK used by run_docker.py from 5.0.0 to 7.1.0. Newer Docker/Python dependency stacks can fail before the container starts with errors such as an unsupported http+docker URL scheme.\n\nThe launcher still imports successfully with docker 7.1.0 and the Docker SDK types used by run_docker.py remain available.\n\nFixes google-deepmind#1066.
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.

docker.errors.DockerException: Error while fetching server API version: Not supported URL scheme http+docker

1 participant