I followed this tutorial on getting a new Airflow 2.0 build created and added the example DAG. but when I go to my local Airflow web ui no dags show up.
Can you check if there are dags in the dags directory in the scheduler container?
docker ps ... docker exec -it <scheduler-container-id> bash ls $AIRFLOW_HOME/dags
Another couple of things to check:
Are you sure you set the dag_id? When I first started with airflow, I sometimes forgot to set the dag_id when I copy/pasted from another dag. Once it had a unique dag_id, it would show.
Are you sure there aren’t any errors/typos in your dag? I find the error box in the web UI very subtle and sometimes don’t catch that there’s an error.