- Clone this repo: https://github.com/datarootsio/airflow-workshop
- Open VSCode and install the extension “Dev containers"
- Open this repo
- Open command pallete (cmd+shift+p on mac) and search for “Dev-containers: rebuild and reopen” and press that
- Wait a few minutes for all containers to start
- Access the Airflow UI at http://localhost:8080. User:
airflow
, password:airflow
- Start writing DAGs
WARNING!! THIS WILL DELETE ALL VOLUMES
You will lose dagruns, dataset events, XCOM, .. etc!
- close the vscode window opened in the dev container
- make sure all containers are stopped
docker kill $(docker ps -aq)
- remove all containers
docker container rm $(docker ps -aq)
- remove all volumes
docker volume rm $(docker volume ls -q)
- Reopen vscode
- Open command pallet (cmd+shift+p on mac) and search for “remote-containers: rebuild and reopen” and press that