Skip to content

Latest commit

 

History

History
73 lines (53 loc) · 2.88 KB

index.rst

File metadata and controls

73 lines (53 loc) · 2.88 KB

image

Docker Image for Apache Airflow

Home <self> build entrypoint recipes

build-arg-ref

For the ease of deployment in production, the community releases a production-ready reference container image.

The docker image provided (as convenience binary package) in the apache/airflow DockerHub is a bare image that has a few external dependencies and extras installed..

The Apache Airflow image provided as convenience package is optimized for size, so it provides just a bare minimal set of the extras and dependencies installed and in most cases you want to either extend or customize the image. You can see all possible extras in extra-packages-ref. The set of extras used in Airflow Production image are available in the Dockerfile.

The production images are build in DockerHub from released version and release candidates. There are also images published from branches but they are used mainly for development and testing purpose. See Airflow Git Branching for details.

Usage

The AIRFLOW_HOME is set by default to /opt/airflow/ - this means that DAGs are in default in the /opt/airflow/dags folder and logs are in the /opt/airflow/logs

The working directory is /opt/airflow by default.

If no AIRFLOW__CORE__SQL_ALCHEMY_CONN variable is set then SQLite database is created in ${AIRFLOW_HOME}/airflow.db.

For example commands that start Airflow see: entrypoint:commands.

Airflow requires many components to function as it is a distributed application. You may therefore also be interested in launching Airflow in the Docker Compose environment, see: apache-airflow:start/index.

You can use this image in Helm Chart <helm-chart:index> as well.