Skip to content

How to run multiple self-hosted runners on a single host #26258

Answered by weide-zhou
dmerrick asked this question in Actions
Discussion options

You must be logged in to vote

Hi @dmerrick,

Glad to see you in Github Community Forum!

The error should be due to you didn’t change the directory for the configuration script(config.sh/config.cmd), please change to another workdir for new configuration.

To install multiple self-hosted runner on your host, you should use different workdir and different runner name. The registration token can be identical( or you can rerun the api command to get a new one).

These runners are using same machine env and disk, it’s recommened to create them on different VMs on your host to seperate them.

Thanks

Replies: 16 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@kluevandrew
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@GuillaumeBourque-QC
Comment options

@ErcinDedeoglu
Comment options

@GuillaumeBourque-QC
Comment options

@Tejalgnrml
Comment options

@ggreco
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gajus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment