mirror of https://github.com/docker/compose.git
Hard-coding the API version to '1.18' with the docker-py constructor will cause the docker-py logic at https://github.com/docker/docker-py/blob/master/docker/client.py#L143-L146 to always fail, which will cause authentication issues if you're using a remote daemon using API version 1.19 - regardless of the API version of the registry. Allow the user to set the API version via an environment variable. If the variable is not present, it will still default to '1.18' like it does today. Signed-off-by: Reilly Herrewig-Pope <reilly.herrewigpope@mandiant.com> |
||
---|---|---|
.. | ||
cli | ||
__init__.py | ||
config.py | ||
const.py | ||
container.py | ||
legacy.py | ||
progress_stream.py | ||
project.py | ||
service.py | ||
state.py | ||
utils.py |