Skip to main content

Quickstart Apache Airflow in less than 2 minutes

To quickstart apache airflow on any operating system with docker, I have created a repository GitHub Learn Airflow. You can follow the document and watch video which provides more details on the quickstart.

Tutorial to follow along

Steps to quickstart Airflow

note

You can run the following commands in a terminal on Mac/Linux or in PowerShell on Windows in the folder you want airflow configs to be placed.

We will start by cloning this repo

git clone https://github.com/shantanukhond/learn-airflow.git
cd learn-airflow

Once cloned we will copy .env.example to .env

cp .env.example .env
echo "AIRFLOW_UID=$(id -u)" >> .env

You can change default username and password if needed in .env file. Also you can change Version.

Once done we will start with

docker compose up airflow-init
docker compose up -d

When startup finishes, open the Airflow UI at http://localhost:8080.