Skip to content

Commit 68f3526

Browse files
author
Tom Bartlett
committed
Output contents of log file on error
Signed-off-by: Tom Bartlett <[email protected]>
1 parent 6a27ae9 commit 68f3526

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

assets/common.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ start_docker() {
9494
trap stop_docker EXIT
9595

9696
if ! timeout ${STARTUP_TIMEOUT} bash -ce 'while true; do try_start && break; done'; then
97+
cat "${LOG_FILE}"
9798
echo Docker failed to start within ${STARTUP_TIMEOUT} seconds.
9899
return 1
99100
fi

0 commit comments

Comments
 (0)