Skip to content

Commit

Permalink
Using /scratch/docker
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCinquini committed Jul 9, 2024
1 parent e22b756 commit 41c26da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions airflow/docker/cwl/docker_cwl_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit 41c26da

Please sign in to comment.