docker-py
docker-py copied to clipboard
PIP_CERT / REQUESTS_CA_BUNDLE breaks TLS
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
I am also hitting this issue, if REQUESTS_CA_BUNDLE is set, I cannot use python docker.