This is the best resource i found to setup airflow using docker-compose. You need a more recent version of the docker compose. Create a file called docker-compose.yaml with content take from here . Then run the following command :- docker-compose up airflow-init next, run the following command. docker-compose up