Skip to content

gitlab runner doesn't start on boot on M1 Mac

After following the instructions here: https://docs.gitlab.com/runner/install/osx.html

The gitlab runner doesn't start on boot.

All commands where run on a Rosetta terminal

./gitlab-runner install
./gitlab-runner start
gitlabrunner@ioslabrunner ~ % ./gitlab-runner start    
Runtime platform                                    arch=amd64 os=darwin pid=6383 revision=58ba2b95 version=14.2.0
FATAL: Failed to start gitlab-runner: "launchctl" failed with stderr: Load failed: 5: Input/output error

These commands did not result in a running gitlab runner.

Calling ./gitlab-runner run does start the runner but if the OS restarts then it is no longer running, which breaks our CI.

gitlab runner version is 14.2.0

Edited by Daniel Hughes