Hi Everybody!
I’m starting to lear airflow and i’m doing the exercises/examples from the book "data pipelines with apache airflow " by Bas Harenslak. The chapter 3 first exercise (unschedule.py api_events) i can’t start because i have an error. I can’t retrive data from the local api which is in http://events_api:5000/events.
Anybody could overpass this error?
[2022-12-30 15:29:43,377] {bash.py:158} INFO - Running command: mkdir -p /data/events && curl -o /data/events.json http://events_api:5000/events
[2022-12-30 15:29:43,385] {bash.py:169} INFO - Output:
[2022-12-30 15:29:43,392] {bash.py:173} INFO - % Total % Received % Xferd Average Speed Time Time Time Current
[2022-12-30 15:29:43,393] {bash.py:173} INFO - Dload Upload Total Spent Left Speed
[2022-12-30 15:29:53,463] {bash.py:173} INFO -
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0curl: (6) Could not resolve host: events_api