Docker Image for Apache Airflow

_images/docker-logo.png

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

The Apache Airflow community, releases Docker Images which are reference images for Apache Airflow. Every time a new version of Airflow is released, the images are prepared in the DockerHub of Apache Airflow for all the supported Python versions. The images we release are multi-platform AMD/ARM images.

Where to start:

  • Image variants - the regular and slim images published for every release, and their names.

  • Runtime environment - the folders and environment variables of the image, and the commands that start Airflow.

  • Why build your own image - why you should build your own image for production, and how.

  • Quick start - a quick start for building a small production image.

  • Image update policy - why security scanners report vulnerabilities in the images, and what to do about it.

Python versions

The images are published for every Python version supported by the Airflow release - see Image variants for the image names.

The default Python version for the reference image - one that you get when you do not specify version - is the newest supported Python version at the time of the Airflow release that supports all providers released in the regular reference image.

For example, even when we release Airflow 3.0 with Python 3.13 support, but some of the providers that are installed by default in the regular reference image do not support Python 3.13, the “default” Python version for the image should be Python 3.12.

The same applies to the “slim” images.

Supported databases

The reference Docker Image includes the clients for the following databases:

  • Postgres Client

  • MySQL Client (8+)

  • MSSQL Client

Note that MySQL on ARM platform has experimental support through MariaDB client library.

Was this entry helpful?