Airflow Docker tutorial: Unhealthy container
See original GitHub issueEnvironment: MacOs docker-compose version 1.27.4
What happened: I am following Airflow in Docker tutorial.
I did:
curl -LfO 'https://airflow.apache.org/docs/apache-airflow/2.0.1/docker-compose.yaml'
mkdir ./dags ./logs ./plugins
echo -e "AIRFLOW_UID=$(id -u)\nAIRFLOW_GID=0" > .env
Then, when initialising the docker compose with docker-compose up airflow-init
I received the following error:
Creating network "airflow-local_default" with the default driver
Creating volume "airflow-local_postgres-db-volume" with default driver
Creating airflow-local_redis_1 ... done
Creating airflow-local_postgres_1 ... done
ERROR: for airflow-init Container "768fe436ac8e" is unhealthy.
ERROR: Encountered errors while bringing up the project.
Container 768fe436ac8e corresponds to postgre docker when making a docker containers ps
If it was working correctly, I should have:
airflow-init_1 | Upgrades done
airflow-init_1 | Admin user airflow created
airflow-init_1 | 2.0.1
start_airflow-init_1 exited with code 0
Thank you very much for your help !
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Airflow Docker Unhealthy trigerrer - Stack Overflow
I followed all steps as described in this URL, every airflow component is working great but the airflow trigerrer shows an unhealthy status...
Read more >Running Airflow in Docker
This quick-start guide will allow you to quickly get Airflow up and ... Docker to use at least 4.00 GB of memory for...
Read more >[Solved]-Airflow Docker Unhealthy trigerrer-docker
Airflow settings to run Celery workers in different Docker container? Is there a way to deploy Airflow with Docker but using different workers?...
Read more >[GitHub] [airflow] benoua opened a new issue #15291
benoua opened a new issue #15291: URL: https://github.com/apache/airflow/issues/15291 **Environment**: MacOs docker-compose version 1.27.4 ...
Read more >Setting Up Apache Airflow with Docker-Compose in 5 Minutes
Step 2: Create a docker-compose file. Next, we need to get our hands on a docker-compose file that specifies the required services or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue has been closed because it has not received response from the issue author.
This issue has been automatically marked as stale because it has been open for 30 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author.