[ https://issues.apache.org/jira/browse/AIRFLOW-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351786#comment-16351786 ]
ASF subversion and git services commented on AIRFLOW-1793: ---------------------------------------------------------- Commit 6f60304529a6db0fc050590b821b288d64dcd992 in incubator-airflow's branch refs/heads/master from kodieg [ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=6f60304 ] [AIRFLOW-1793] Use docker_url instead of invalid base_url Closes #2998 from kodieg/patch-3 > DockerOperator doesn't work with docker_conn_id > ----------------------------------------------- > > Key: AIRFLOW-1793 > URL: https://issues.apache.org/jira/browse/AIRFLOW-1793 > Project: Apache Airflow > Issue Type: Bug > Reporter: Cedrik Neumann > Assignee: Cedrik Neumann > Priority: Major > > The implementation of DockerOperator uses `self.base_url` when loading the > DockerHook instead of `self.docker_url`: > https://github.com/apache/incubator-airflow/blob/v1-9-stable/airflow/operators/docker_operator.py#L150 > {noformat} > [2017-11-08 16:10:13,082] {base_task_runner.py:98} INFO - Subtask: File > "/src/apache-airflow/airflow/operators/docker_operator.py", line 161, in > execute > [2017-11-08 16:10:13,083] {base_task_runner.py:98} INFO - Subtask: > self.cli = self.get_hook().get_conn() > [2017-11-08 16:10:13,083] {base_task_runner.py:98} INFO - Subtask: File > "/src/apache-airflow/airflow/operators/docker_operator.py", line 150, in > get_hook > [2017-11-08 16:10:13,083] {base_task_runner.py:98} INFO - Subtask: > base_url=self.base_url, > [2017-11-08 16:10:13,083] {base_task_runner.py:98} INFO - Subtask: > AttributeError: 'DockerOperator' object has no attribute 'base_url' > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)