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
- add docker client (#2) — committed to vegardit/docker-gitea-act-runner by sebthom a year ago
- add docker client (#2) — committed to vegardit/docker-gitea-act-runner by sebthom a year ago
- Revert "add docker client (#2)" This reverts commit 81f4ed3e9c2790169652bd1a2c3f4c0cf61ef558. — committed to vegardit/docker-gitea-act-runner by sebthom a year ago
- Revert "add docker client (#2)" This reverts commit eb4098071bcd8ff1a8722ef3d39f7f1ecdf990e8. — committed to vegardit/docker-gitea-act-runner by sebthom a year ago
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.