WIP: Fix for using docker inside runner's container
Runner not respecting provided labels
Here some working example in my work for the #153:
f8287eba2c/examples/docker-compose/compose-forgejo-and-runner.y
…
46a439e425
removing deprecated version field in docker compose v2 as condition in depend_on require docker compose v2
aadfcdde45
Adding test for docker inside runner container
6a450e5978
fix labels + adding ubuntu-22.04 to have docker inside runner container
a2258fc1af
enabling docker inside runner container
f553b5931f
Using TLS for dind
Runner not respecting provided labels
Cannot connect to the Docker daemon at unix:///var/run/docker.sock.
I'm actually facing another issue causing runner not respecting provided labels :/ you can see it here: https://code.forgejo.org/forgejo/runner/actions/runs/870#jobstep-4-277
It use…
Cannot connect to the Docker daemon at unix:///var/run/docker.sock.
Thanks for the intel, I'll try to work on a PR in the incoming days !
Cannot connect to the Docker daemon at unix:///var/run/docker.sock.
I've been stumbling a lot on this and I think I finally made this work.
- generate runner config using
forgejo-runner generate-config > config.yaml
- edit the config file this way:
run…