How to understand "unhealthy" status of airflow container

  airflow, docker, docker-compose

I am starting am airflow docker-compose as per official recommendation here
but with my own Dokerfile, which is simple:

FROM apache/airflow:2.1.0
RUN pip install apache-airflow-providers-docker==1.2.0

When I do it for the first time:
enter image description here

If I restart containers, then all of them are unhealthy. Also if I run docker-compose up airflow-init for the second time it freezes.

Also DAG, which I see in the userinterface does not get updated, when I change it on my side. If I am trying to go inside of the container airflow-worker and check ls /dags bash freezes.

To be able to run everything again I have to restart the whole Docker

Source: Docker Questions