I would like to extract the 'airflow.cfg' file from docker container to make an easy access to configuration. I tried everything but I cannot copy this particular file.
The last volume creates only folder airflow.cfg ...
volumes:
- ./dags:/opt/airflow/dags
- ./logs:/opt/airflow/logs
- ./plugins:/opt/airflow/plugins
- ./config/airflow.cfg:/opt/airflow/airflow.cfg
I can copy the entire folder with path:
- `./config/:/opt/airflow/`
but not just the airflow.cfg file...
Any suggestions? Thank you in advance.