docker build -t airflow .
docker run -d -p 8080:8080 airflow
docker run -d -p 8080:8080 \
-v $(pwd)/mnt/dags:/usr/local/airflow/dags \
-v $(pwd)/mnt/airflow.cfg:/usr/local/airflow/airflow.cfg airflow
# Check for errors in your DAG
python $DAG
# List DAGS
airflow list_dags
# Lists tasks in a DAG
airflow list_tasks $DAG
# Test a DAG (doesn't modify database)
airflow test $DAG $TASK
docker-compose up -d
These are the differences between the config files:
Connection = /usr/local/airflow/airflow.db
select * from sqlite_master;
select * from pg_catalog.pg_tables;
Content type
Image
Digest
Size
359.7 MB
Last updated
about 6 years ago
docker pull apoorwanand/airflow