[
https://issues.apache.org/jira/browse/AIRFLOW-2976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646978#comment-16646978
]
Matthew Donovan commented on AIRFLOW-2976:
------------------------------------------
The cpu_shares and mem_limit keyword arguments were both moved into the
host_config argument.
> pipy docker dependency broken
> -----------------------------
>
> Key: AIRFLOW-2976
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2976
> Project: Apache Airflow
> Issue Type: Bug
> Components: dependencies, docker
> Affects Versions: 2.0.0
> Reporter: Lin, Yi-Li
> Assignee: Gerardo Curiel
> Priority: Major
> Attachments: docker_dag.log, docker_dag.py
>
>
> I'm trying to install airflow with docker extras but airflow's dependency
> will install recent docker-py (3.5.0) from pypi which is incompatible with
> current DockerOperator.
> DockerOperator will complain that "create_container() got an unexpected
> keyword argument 'cpu_shares'".
> It looks like that interface is changed from docker-py 3.0.0 and work with
> docker-py 2.7.0.
> The log and dag file are in attachments.
> Note, installation comment: "AIRFLOW_GPL_UNIDECODE=yes pip install
> 'apache-airflow[docker,mysql]==1.10.0'"
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)