Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
tanjaj
Contributor III
Contributor III

Subjob not running in docker

Hi,

I have a talend job which I want to deploy and run from docker. I'm using Talend Open Studio and job is working just fine. Also i tried to run job from linux server, it's working. The problem is when i run it from docker. It looks like only parent job (export_data_xml) is executed successfully  but not the child job. Here is my docker file:

 

FROM store/oracle/serverjre:8

ARG talend_job=export_data_xml


ENV TALEND_JOB ${talend_job}
ENV ARGS ""

WORKDIR /opt/talend

COPY ${TALEND_JOB}.zip /opt/talend

### Install Talend Job
RUN yum install -y unzip && \
unzip ${TALEND_JOB}.zip && \
rm -rf ${TALEND_JOB}.zip && \
chmod +x ${TALEND_JOB}/${TALEND_JOB}_run.sh

VOLUME /data/context

CMD ["/bin/sh","-c","${TALEND_JOB}/${TALEND_JOB}_run.sh ${ARGS}"]

 

And this is how i run it:

docker run --rm -ti -v C:/Users/admin/Desktop/Context_files:/data/context -e ARGS="--context_param business_codes=/data/context/SiteToCode.xlsx  --context_param data_directory=/data/context/ --context_param file_path=/data/context/microsoftSQL_context.xml" export:latest

 

In att there is output from docker.

 

Thank you.

Labels (2)
0 Replies