Long story short
The ssl_context given as parameter to the Docker class is never used so you need to give a aiohttp Connector object instead of ssl_context.
Expected behaviour:
Don't have the way to give a ssl_context in Docker constructor (and be forced to use the connector parameter to pass SSL config)
OR
Use the ssl_context parameter to internaly create the connector
Actual behaviour:
ssl_context parameter is useless and we need to pass through the connector parameter to pass SSL config.
How to reproduce
import aiodocker
aiodocker.Docker(ssl_context="will work because not used")
Please explain the expected behavior so I can make a PR to fix this.
Long story short
The
ssl_contextgiven as parameter to the Docker class is never used so you need to give a aiohttp Connector object instead ofssl_context.Expected behaviour:
Don't have the way to give a
ssl_contextin Docker constructor (and be forced to use theconnectorparameter to pass SSL config)OR
Use the
ssl_contextparameter to internaly create theconnectorActual behaviour:
ssl_contextparameter is useless and we need to pass through theconnectorparameter to pass SSL config.How to reproduce
Please explain the expected behavior so I can make a PR to fix this.