Chris Cureau a384adbbc6 Documentation enhancements (#207)
This PR addresses the issue listed in issue #170 regarding how to set up rootless Docker. It also expands on the documentation to show how to create deployments for different environments.

Co-authored-by: ccureau <>
Reviewed-on: gitea/act_runner#207
Reviewed-by: Jason Song <>
Co-authored-by: Chris Cureau <>
Co-committed-by: Chris Cureau <>
2023-06-05 08:46:15 +00:00
.. Documentation enhancements (#207) 2023-06-05 08:46:15 +00:00

Run act_runner in a Docker Container

docker run -e GITEA_INSTANCE_URL= -e GITEA_RUNNER_REGISTRATION_TOKEN=<runner_token> -v /var/run/docker.sock:/var/run/docker.sock -v $PWD/data:/data --name my_runner gitea/act_runner:nightly

The /data directory inside the docker container contains the runner API keys after registration. It must be persisted, otherwise the runner would try to register again, using the same, now defunct registration token.