diff options
author | Daniel Baumann <daniel@debian.org> | 2025-01-24 08:57:48 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2025-01-24 08:57:48 +0100 |
commit | c70c95ecbea0487586212a9437d120989a6c6e31 (patch) | |
tree | 140d166690b4cf72737075f15001eee07bfb4d6c /examples/docker/README.md | |
parent | Initial commit. (diff) | |
download | forgejo-runner-debian.tar.xz forgejo-runner-debian.zip |
Adding upstream version 6.2.0.HEADupstream/6.2.0upstreamdebian
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'examples/docker/README.md')
-rw-r--r-- | examples/docker/README.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/docker/README.md b/examples/docker/README.md new file mode 100644 index 0000000..a439dbd --- /dev/null +++ b/examples/docker/README.md @@ -0,0 +1,12 @@ +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 + +```sh +docker run -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/data:/data --user 1000:133 --rm code.forgejo.org/forgejo/runner:6.0.1 forgejo-runner --config runner-config.yaml daemon +``` + +The workflows will run using the host docker server |