We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45ff310 commit 5804cfcCopy full SHA for 5804cfc
1 file changed
lib/setup-docker.js
@@ -171,13 +171,14 @@ async function run() {
171
'-c',
172
`
173
set -x
174
-command -v docker
+command docker || true
175
i=0
176
while ! /Applications/Docker.app/Contents/Resources/bin/docker system info &>/dev/null; do
177
(( i++ == 0 )) && printf %s '-- Waiting for Docker to finish starting up...' || printf '.'
178
sleep 1
179
180
# wait 180s(3min)
-if [ $i -gt 180 ];then echo "-- Wait docker start $i s too long, exit"; exit; fi
181
+if [ $i -gt 180 ];then sudo /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check;uname -a;echo "-- Wait docker start $i s too long, exit"; exit 1; fi
182
done
183
echo "-- Docker is ready."
184
`]);
0 commit comments