Skip to main content

Provider package apache-airflow-providers-docker for Apache Airflow

Project description

Package apache-airflow-providers-docker

Release: 2.3.0

Docker

Provider package

This is a provider package for docker provider. All classes for this provider package are in airflow.providers.docker python package.

You can find package information and changelog for the provider in the documentation.

Installation

You can install this package on top of an existing airflow 2.1+ installation via pip install apache-airflow-providers-docker

The package supports the following python versions: 3.6,3.7,3.8,3.9

PIP requirements

PIP package

Version required

apache-airflow

>=2.1.0

docker

>=5.0.3

Changelog

2.3.0

Features

  • Add support of placement in the DockerSwarmOperator (#18990)

Bug Fixes

  • Fixup string concatenations (#19099)

  • Remove the docker timeout workaround (#18872)

Other

  • Move docker decorator example dag to docker provider (#18739)

2.2.0

Features

  • Add a Docker Taskflow decorator (#15330)

This version of Docker Provider has a new feature - TaskFlow decorator that only works in Airflow 2.2. If you try to use the decorator in pre-Airflow 2.2 version you will get an error:

AttributeError: '_TaskDecorator' object has no attribute 'docker'

2.1.1

Features

  • Add support for configs, secrets, networks and replicas for DockerSwarmOperator (#17474)

Misc

  • Optimise connection importing for Airflow 2.2.0

2.1.0

Features

  • Adds option to disable mounting temporary folder in DockerOperator (#16932)

Bug Fixes

  • [FIX] Docker provider - retry docker in docker (#17061)

  • fix string encoding when using xcom / json (#13536)

  • if xcom_all is set to False, only the last line of the log (separated by \n) will be included in the XCom value

The DockerOperator in version 2.0.0 did not work for remote Docker Engine or Docker-In-Docker case. That was an unintended side effect of #15843 that has been fixed in #16932. There is a fallback mode which will make Docker Operator works with warning and you will be able to remove the warning by using the new parameter to disable mounting the folder.

2.0.0

Breaking changes

  • Auto-apply apply_default decorator (#15667)

  • Replace DockerOperator's 'volumes' arg for 'mounts' (#15843)

The volumes parameter in airflow.providers.docker.operators.docker.DockerOperator and airflow.providers.docker.operators.docker_swarm.DockerSwarmOperator was replaced by the mounts parameter, which uses the newer mount syntax instead of --bind.

1.2.0

Features

  • Entrypoint support in docker operator (#14642)

  • Add PythonVirtualenvDecorator to Taskflow API (#14761)

  • Support all terminus task states in Docker Swarm Operator (#14960)

1.1.0

Features

  • Add privileged option in DockerOperator (#14157)

1.0.2

Bug fixes

  • Corrections in docs and tools after releasing provider RCs (#14082)

1.0.1

Updated documentation and readme files.

Bug fixes

  • Remove failed DockerOperator tasks with auto_remove=True (#13532) (#13993)

  • Fix error on DockerSwarmOperator with auto_remove True (#13532) (#13852)

1.0.0

Initial version of the provider.

Project details


Release history Release notifications | RSS feed

This version

2.3.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apache-airflow-providers-docker-2.3.0.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file apache-airflow-providers-docker-2.3.0.tar.gz.

File metadata

  • Download URL: apache-airflow-providers-docker-2.3.0.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for apache-airflow-providers-docker-2.3.0.tar.gz
Algorithm Hash digest
SHA256 c7091dd724f3dc898f07e48f9428a7c64a8bff77bf21ae6a291a3763d9673dba
MD5 f775c1d5137638027f20915ca8ca5795
BLAKE2b-256 6d25c725a44e989b24bc80433a7e7a6e66aa1888eba19d78db9f5894f29fcab1

See more details on using hashes here.

File details

Details for the file apache_airflow_providers_docker-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: apache_airflow_providers_docker-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 34.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for apache_airflow_providers_docker-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f26adbf4ac94232c0657cab4c252c0208d479242fb6637ca9f5e13d807e1fb3b
MD5 40fd9478334c1e1e58e7ef5e09911cc1
BLAKE2b-256 c2fdc7f8e8763f8bdd93c4deda1eb5ca3a5c59a1685f4ffdea47471f1660da4f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page