docker-gitea-act-runner: docker not found error when trying to run ci command with docker

Hi there I’m very new to ci/cd and setting up services. But I managed to run gitea alongside this runner successfully. In my actions I want to do a docker build after checkout but I get the error that docker is not found. I think this is really silly. Should I somehow manually install docker in the runner?

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Apparently this was an issue from the runner image and that didn’t have docker installed. I managed to fix this issue using ubuntu-latest:docker://catthehacker/ubuntu:act-22.04 asGITEA_RUNNER_LABELS env variable when running the docker container.

I missed to add the binary to the final image. should work now. thanks for the feedback.

I reverted the inclusion of the docker client in the runner docker image as it has no effect and changed the default labels to use catthehacker/ubuntu:runner-** docker images.

@joaolongo that sounds like a good idea. I am a.f.k. at the moment but will get back to this next week.