I am trying to run airflow on an anaconda3 docker image. Everything is working fine, except I am not able to run airflow webserver and scheduler in the background using:
airflow webserver -D airflow scheduler -D
Both of them start in the foreground and I have to open a new terminal for them to run.
Source: Docker Questions