GitHub user kiranzo edited a discussion: Airflow can't see SMB volume, but its
Docker container can
I have Airflow deployed in Docker container in Linux host that also has Samba
volume mounted under /mnt/datasets.
Docker container also has that volume mounted under /mnt/datasets, and I can
see its contents with bash and when I run Airflow's own Python and do
`os.listdir('/mnt/datasets')`
When I ran my DAG in Airflow, I got an error because no files were found, and
when I tried to do `print(os.listdir('/mnt'))` inside of DAG, I found out that
Airflow sees /mnt completely empty.
I thought I don't need to do anything if Samba is correctly mounted (and Python
inside of the container agrees), how do I make Airflow see it?
GitHub link: https://github.com/apache/airflow/discussions/50027
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]