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 13:55:02 UTC

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

    [ https://issues.apache.org/jira/browse/AIRFLOW-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16076528#comment-16076528 ] 

Benjamin Sims commented on AIRFLOW-1380:
----------------------------------------

PR is: https://github.com/apache/incubator-airflow/pull/2417

> 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
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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)