File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 84
84
85
85
# Pull the container, retry on failures up to 5 times with
86
86
# short delays between each attempt. Fixes most transient network errors.
87
- # docker_pull_attempts=0
88
- # until [ "$docker_pull_attempts" -ge 5 ]
89
- # do
90
- # docker pull docker.elastic.co/elasticsearch/"$elasticsearch_container" && break
91
- # docker_pull_attempts=$((docker_pull_attempts+1))
92
- # echo "Failed to pull image, retrying in 10 seconds (retry $docker_pull_attempts/5)..."
93
- # sleep 10
94
- # done
87
+ docker_pull_attempts=0
88
+ until [ " $docker_pull_attempts " -ge 5 ]
89
+ do
90
+ docker pull docker.elastic.co/elasticsearch/" $elasticsearch_container " && break
91
+ docker_pull_attempts=$(( docker_pull_attempts+ 1 ))
92
+ echo " Failed to pull image, retrying in 10 seconds (retry $docker_pull_attempts /5)..."
93
+ sleep 10
94
+ done
95
95
96
96
NUMBER_OF_NODES=${NUMBER_OF_NODES-1}
97
97
http_port=9200
You can’t perform that action at this time.
0 commit comments