Skip to content

Commit

Permalink
[CHANGE] Usig /scratch EFS partition for the DIND Docker directory
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCinquini committed Mar 11, 2024
1 parent 5f4bf0d commit fe7ae22
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion airflow/docker/cwl/docker_cwl_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ mkdir -p "$work_dir"
cd $work_dir

# Start Docker engine
dockerd &> dockerd-logfile &
# Move the Docker root directory to the larger EFS partition
docker_dir="$work_dir"/docker
mkdir -p "$docker_dir"
dockerd --data-root "$docker_dir" &> dockerd-logfile &

# Wait until Docker engine is running
# Loop until 'docker version' exits with 0.
Expand Down

0 comments on commit fe7ae22

Please sign in to comment.