본문 바로가기
Data Analysis/Python

[Airflow] Airflow 설치법(LOCAL) - 도커랑 vs code 필요

by Hagrid 2023. 1. 4.
반응형

 

 

Airflow 설치법(LOCAL) -  도커랑 vs code 필요 

[Practice] Installing Apache Airflow

Installing Apache Airflow

 

 

Prerequisites

First, make sure you have installed Docker Desktop and Visual Studio. If not, take a look at these links:

Docker needs privilege rights to work, make sure you have them.

Follow the documentation first
If you have troubles to install these tools, here are some videos to help you

 

Install Apache Airflow with Docker

 

Well done, you've just installed Apache Airflow with Docker! 🎉

 

Open your web browser and go to localhost:8080

Troubleshoots

If you don't see this page, make sure you have nothing already running on the port 8080

Also, go back to your terminal on Visual Studio Code and check your application with docker-compose ps

All of your "containers" should be healthy as follow:

If a container is not healthy. You can check the logs with docker logs materials_name_of_the_container

Try to spot the error; once you fix it, restart Airflow with docker-compose down then docker-compose up -d

and wait until your container states move from starting to healthy.

If you still have trouble, reach me on the Q/A with your error.

 

 
반응형

댓글