You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Benjamin Sims (JIRA)" <ji...@apache.org> on 2017/07/06 12:52:00 UTC

[jira] [Created] (AIRFLOW-1380) DockerOperator does not work with most recent version of Docker client

Benjamin Sims created AIRFLOW-1380:
--------------------------------------

             Summary: DockerOperator does not work with most recent version of Docker client
                 Key: AIRFLOW-1380
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1380
             Project: Apache Airflow
          Issue Type: Bug
          Components: docker, operators
    Affects Versions: 1.9.0
         Environment: Tested on OS X, Python 3.5.2.
            Reporter: Benjamin Sims
            Priority: Minor


DockerOperator contains the following import:

from docker import Client, tls
https://github.com/apache/incubator-airflow/blob/master/airflow/operators/docker_operator.py#L21

In the latest version of the docker Python client available in PyPy, 'Client' is no longer available and has been named 'APIClient'. The change was made here:

https://github.com/docker/docker-py/commit/9daa320454ec0c19035a09b436a41e13c3fb71ad

I will submit a PR with the relevant change.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)