update the hacking instructions with lxc

This commit is contained in:
Earl Warren 2023-11-10 22:42:11 +01:00
parent c31664dce4
commit fd83ce5964
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -59,7 +59,7 @@ The user is `root` with password `admin1234`. The runner is registered with:
``` ```
cd setup-forgejo cd setup-forgejo
docker exec --user 1000 forgejo forgejo actions generate-runner-token > forgejo-runner-token docker exec --user 1000 forgejo forgejo actions generate-runner-token > forgejo-runner-token
../runner/forgejo-runner register --no-interactive --instance "http://$(cat forgejo-ip):3000/" --name runner --token $(cat forgejo-runner-token) --labels docker:docker://node:16-bullseye,self-hosted ../runner/forgejo-runner register --no-interactive --instance "http://$(cat forgejo-ip):3000/" --name runner --token $(cat forgejo-runner-token) --labels docker:docker://node:16-bullseye,self-hosted:host://-self-hosted,lxc:lxc://debian:bullseye
``` ```
And launched with: And launched with: