Increase timeout for downloading wasmd
This commit is contained in:
parent
75f2936170
commit
cceb5f5322
@ -34,7 +34,7 @@ echo "wasmd running and logging into $WASMD_LOGFILE"
|
||||
# sleep 3 && cat "$WASMD_LOGFILE"
|
||||
|
||||
# Use a large timeout because of potentially long image download in `docker run`
|
||||
if ! timeout 120 bash -c "until docker inspect -f '{{.State.Running}}' '$CONTAINER_NAME' &> /dev/null; do sleep 0.5; done"; then
|
||||
if ! timeout 180 bash -c "until docker inspect -f '{{.State.Running}}' '$CONTAINER_NAME' &> /dev/null; do sleep 0.5; done"; then
|
||||
echo "Container named '$CONTAINER_NAME' not running. We cannot continue." \
|
||||
"This can happen when 'docker run' needs too long to download and start." \
|
||||
"It might be worth retrying this step once the image is in the local docker cache."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user