- What is Airflow?
- What's the point of Airflow?
- What can and can't it do?
- The Dag
- The Operators
- Trigger Rules
- To have docker and docker-compose installed
- Run docker build BEFORE the class starts
sudo apt-get install python3-dev
Run this, docker build, once
sudo docker build -t airflow-training:1.0 .
- docker - err...the docker cli tool :D
- build - run the code written on the Dockerfile
- -t tag the image with the following name:version naming convention
sudo docker-compose -f docker-compose.yml up -d
- docker-compose - err... the docker-compose cli tool :D
- -f - run the compose file
- up - aggregates all logs to the same stdout
- -d - runs in the background i.e doesn't take over your current bash session
shut down everything
sudo docker-compose down
The dockerfile and entrypoint are modified versions of those taken from: https://github.com/puckel/docker-airflow and https://github.com/happilyeverafter95/slack-airflow