sudo docker pull apache/airflow:2.6.1
2. mkdir airflow-docker
3. curl -LfO 'https://airflow.apache.org/docs/apache-airflow/2.6.1/docker-compose.yaml'
4. mkdir -p ./dags ./logs ./plugins ./config
5. echo -e "AIRFLOW_UID=$(id -u)" > .env
6. AIRFLOW_UID=50000
7. sudo docker compose up airflow-init
8. sudo docker compose up -d
9. sudo docker ps
Comments