GoogleCloudPlatform / composer-local-dev

Apache License 2.0
74 stars 37 forks source link

DockerException: Error while fetching server API version: Not supported URL scheme http+docker #61

Open feelingsonice opened 1 month ago

feelingsonice commented 1 month ago

On main after pip install . and running composer-dev create, got the error:

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

Looks like this is related to https://github.com/docker/docker-py/issues/3256

Upgrading to docker==7.1.0 inside setup.py and reinstalling fixed the issue for me.

Context:

pip 24.1.1 
python 3.10
rishi-aga commented 1 month ago

we can add "requests==2.31.0", in setup.py

gust-p commented 3 weeks ago

we can add "requests==2.31.0", in setup.py

This solved my issue. Thanks.

cbeauch commented 1 week ago

I followed this but still getting the same error. Any ideas?