You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Fokko Driesprong (JIRA)" <ji...@apache.org> on 2018/05/24 08:28:00 UTC
[jira] [Resolved] (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:all-tabpanel ]
Fokko Driesprong resolved AIRFLOW-1380.
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
1.10.0
Issue resolved by pull request #3407
[https://github.com/apache/incubator-airflow/pull/3407]
> 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
> Assignee: Willem van Asperen
> Priority: Minor
> Fix For: 1.10.0, 2.0.0
>
> 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
(v7.6.3#76005)