git clone git@github.com:dorokhin/apache_airflow_docker.git
cd apache_airflow_docker
echo -e "AIRFLOW_UID=$(id -u)" > .env
docker compose up airflow-init
After initialization is complete, you should see a message like this:
airflow-init_1 | Upgrades done
airflow-init_1 | Admin user airflow created
airflow-init_1 | 2.8.1
start_airflow-init_1 exited with code 0
docker compose up -d
docker compose down --volumes --rmi all