Skip to content

Commit

Permalink
Merge pull request #315 from kmkacpermajor/master
Browse files Browse the repository at this point in the history
Docker service dying fix
  • Loading branch information
myoung34 authored Sep 2, 2023
2 parents fa3beac + c3ed823 commit 7e82d76
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ fi
# Start docker service if needed (e.g. for docker-in-docker)
if [[ ${_START_DOCKER_SERVICE} == "true" ]]; then
echo "Starting docker service"
service docker start
_PREFIX=""
[[ ${_RUN_AS_ROOT} != "true" ]] && _PREFIX="sudo"
${_PREFIX} service docker start
fi

# Container's command (CMD) execution as runner user
Expand Down

0 comments on commit 7e82d76

Please sign in to comment.