mirror of
https://gitea.com/gitea/act_runner.git
synced 2024-11-25 22:36:14 +00:00
0348aaac59
Follow #619. Wait for the Docker daemon to be ready before starting act runner. Reviewed-on: https://gitea.com/gitea/act_runner/pulls/620 Co-authored-by: Jason Song <i@wolfogre.com> Co-committed-by: Jason Song <i@wolfogre.com>
7 lines
116 B
Bash
Executable File
7 lines
116 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if ! docker info &> /dev/null; then
|
|
echo "Waiting for Docker daemon to start..."
|
|
exit 1
|
|
fi
|