[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Airflow: Docker_operator issue

Do you have everything running on 1 host?  Can you confirm the volume is
mounted on the host with a $ docker volume ls in a BashOperator?

*Taylor Edmiston*
Blog <https://blog.tedmiston.com/> | CV
<https://stackoverflow.com/cv/taylor> | LinkedIn
<https://www.linkedin.com/in/tedmiston/> | AngelList
<https://angel.co/taylor> | Stack Overflow

On Thu, Jun 7, 2018 at 1:01 PM, Shikhar Sharma <s.shikharcse@xxxxxxxxx>

> Hi folks,
> I am trying to create multiple instances(containers) out of single image.
> I also need a docker volume to have the communication between the
> containers.
> This thing is working perfectly fine when I am running the containers
> manually(through command line in linux) but when I'm trying to orchestrate
> it through airflow, I am can't see any file inside the volume(my local host
> directory).
> PS: Please find the attached dag file and suggest any changes needed.
> Thanks
> Regards
> Shikhar Sharma