2023-08-26 05:18:42 -05:00
|
|
|
The following assumes:
|
|
|
|
|
|
|
|
* a docker server runs on the host
|
|
|
|
* the docker group of the host is GID 133
|
|
|
|
* a `.runner` file exists in /tmp/data
|
|
|
|
* a `runner-config.yml` file exists in /tmp/data
|
2023-06-05 03:46:15 -05:00
|
|
|
|
|
|
|
```sh
|
2023-08-26 05:18:42 -05:00
|
|
|
docker run -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/data:/data --user 1000:133 --rm code.forgejo.org/forgejo/runner:3.0.0 forgejo-runner --config runner-config.yaml daemon
|
2023-06-05 03:46:15 -05:00
|
|
|
```
|
|
|
|
|
2023-08-26 05:18:42 -05:00
|
|
|
The workflows will run using the host docker srever
|