Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 587 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 587 Bytes
  1. docker build -t github-runner .
  2. docker run -it --privileged --restart=always -v /var/run/docker.sock:/var/run/docker.sock --name github-runner -e url=<url> -e token=<token> -e name=<name> (-e group=<group>) github-runner

Environment variables that can be set:

  • url= URL of repository or organization the runner should be linked to
  • token= Token used for registering runner
  • name= Name of the runner
  • group= Group the runner should be added to

Use docker attach <container> and then STRG + C to proparly shutdown container!