Docker Community Forums

Share and learn in the Docker community.

Trouble connecting to Docker through Python SDK and Celery

docker

(Orchestrahq) #1

Hi all,

First time using Docker and loving it!

However, I’m running into an issue with my application.

I’m using the Docker Python SDK and Celery to connect to my Docker server hosted on my VPS. Both client and server are on the same machine with the server being a Docker daemon.

I am receiving the following error when connecting through Celery using environment variables:
docker.errors.TLSParameterError: Path to a certificate and key files must be provided through the client_config param. TLS configurations should map the Docker CLI client configurations

How can I find out what the appropriate IP/hostnames to use to generate the certificates? Or can I disable the checking of TLS configurations?

Any help would be much appreciated.

Thanks