docker-py icon indicating copy to clipboard operation
docker-py copied to clipboard

PIP_CERT / REQUESTS_CA_BUNDLE breaks TLS

Open thenewguy opened this issue 5 years ago • 1 comments

Running on Docker In Docker and having to unset PIP_CERT and REQUESTS_CA_BUNDLE in order to connect to the docker service.

These env vars are set:

DOCKER_HOST: 'tcp://docker:2376'
DOCKER_TLS_CERTDIR: "/certs"
DOCKER_CERT_PATH: "$DOCKER_TLS_CERTDIR/client"
DOCKER_TLS_VERIFY: 1

It seems like they should take precedence over the above

thenewguy avatar Jun 19 '20 13:06 thenewguy

I am also hitting this issue, if REQUESTS_CA_BUNDLE is set, I cannot use python docker.

goldiee36 avatar Aug 18 '23 14:08 goldiee36