diff --git a/airflow/docker/cwl/docker_cwl_entrypoint.sh b/airflow/docker/cwl/docker_cwl_entrypoint.sh index 22ab80a0..2d4df3c9 100755 --- a/airflow/docker/cwl/docker_cwl_entrypoint.sh +++ b/airflow/docker/cwl/docker_cwl_entrypoint.sh @@ -23,10 +23,10 @@ mkdir -p "$WORKING_DIR" cd $WORKING_DIR # create root directory for Docker engine -mkdir -p "$WORKING_DIR/docker" -ls -l /var/lib/docker -mkdir -p "/var/lib/docker2" -ls -l /var/lib/docker2 +mkdir -p /scratch/docker +ls -l /scratch/docker +#mkdir -p "/var/lib/docker2" +#ls -l /var/lib/docker2 # switch between the 2 cases a) and b) for job_args # remove arguments from previous tasks @@ -45,7 +45,7 @@ echo "Executing the CWL workflow: $cwl_workflow with json arguments: $job_args a echo "JSON XCOM output: ${json_output}" # Start Docker engine -dockerd --data-root /var/lib/docker2 &> dockerd-logfile & +dockerd --data-root /scratch/docker &> dockerd-logfile & # Wait until Docker engine is running # Loop until 'docker version' exits with 0.