actions-setup-docker
actions-setup-docker copied to clipboard
increase timeout for docker start
Increased timeout for docker start from 180s to 600s. Have done it because sometimes 180s is not enough for github macOs runners. E.g run, run.
cc @00Kai0 @junchen1992 @khs1994
Would be nice to have this merged, I'm hitting the same issue.
Yep, same issue. Also reported in: https://github.com/docker-practice/actions-setup-docker/issues/34 and: https://github.com/docker-practice/actions-setup-docker/issues/24
Please merge this, having same issue
You can use this fix now with
uses: better0fdead/actions-setup-docker@better0fdead/increase-timeout
Many users would be happy with this merge 🙌🏼
Probably even 300 would be enough. Often it takes just a bit more than 180 seconds:
+ '[' 184 -gt 600 ']'
+ /Applications/Docker.app/Contents/Resources/bin/docker system info
+ (( i++ == 0 ))
+ printf .
+ command -v docker
./usr/local/bin/docker
+ sleep 1
+ '[' 185 -gt 600 ']'
+ /Applications/Docker.app/Contents/Resources/bin/docker system info
+ (( i++ == 0 ))
+ printf .
+ command -v docker
./usr/local/bin/docker
+ sleep 1
+ '[' 186 -gt 600 ']'
+ /Applications/Docker.app/Contents/Resources/bin/docker system info
+ echo '::notice::-- Docker is ready.Wait time is 186 s'
+ uname -a
Notice: -- Docker is ready.Wait time is 186 s
Very yes.
ping @khs1994 , I see you merged some PRs recently.
Probably even 300 would be enough. Often it takes just a bit more than 180 seconds:
In my case, it takes 421s, so around 600 would be better.
+ '[' 421 -gt 600 ']'
+ /Applications/Docker.app/Contents/Resources/bin/docker system info
+ echo '::notice::-- Docker is ready.Wait time is 421 s'
+ uname -a
I've switched to https://github.com/douglascamata/setup-docker-macos-action because of this issue. Works good for me