Open Alexander-Degtyar opened 4 months ago
After installing older requests
, the script works fine.
$ pip3 install "requests<2.2.29"
Collecting requests<2.2.29
Downloading requests-2.2.1-py2.py3-none-any.whl (625 kB)
|████████████████████████████████| 625 kB 2.2 MB/s
ERROR: docker 4.4.4 has requirement requests!=2.18.0,>=2.14.2, but you'll have requests 2.2.1 which is incompatible.
Installing collected packages: requests
Attempting uninstall: requests
Found existing installation: requests 2.31.0
Uninstalling requests-2.31.0:
Successfully uninstalled requests-2.31.0
Successfully installed requests-2.2.1
Hi,
In my case, downgrading requests was introducing a dependency error with the docker package.
Another workaround found https://github.com/docker/docker-py/issues/3113#issue-1685565058 is to force urllib3 version below v2
pip3 install "urllib3<2"
Script failed with the following exception when tried to get compose yaml from the running container.
Docker version:
Packages versions:
Script version:
Probably related to the https://github.com/Red5d/docker-autocompose/issues/60.