Can I use "EPHEMERAL" with docker run ?
ifeelingz opened this issue · comments
ifeelingz commented
docker run -d --restart always --name github-runner \
-e RUNNER_NAME_PREFIX="myrunner" \
-e ACCESS_TOKEN="footoken" \
-e RUNNER_WORKDIR="/tmp/github-runner-your-repo" \
-e RUNNER_GROUP="my-group" \
-e RUNNER_SCOPE="org" \
-e DISABLE_AUTO_UPDATE="true" \
-e ORG_NAME="octokode" \
-e LABELS="my-label,other-label" \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /tmp/github-runner-your-repo:/tmp/github-runner-your-repo \
myoung34/github-runner:latest
If it works, how do I add the command?
Thank you.
myoung34 commented
What command are you asking to add
ifeelingz commented
What command are you asking to add
I want to know if I want to use --ephemeral
After docker run -d --restart always --name github-runner \
How do I use it?
myoung34 commented
the usage is here basically set the env var -e EPHEMERAL=1