root@amd5900x-31-46:/etc/gitlab-runner# gitlab-runner register --name my-runner --url http://ext-gitlab.xxxxx.com/ --registration-token GR134894xxxx
Runtime platform arch=amd64 os=linux pid=7133 revision=66a81bdf version=15.4.2
Running in system-mode.
Enter the GitLab instance URL (for example, https://gitlab.com/):
[http://ext-gitlab.xxxxxx.com/]:
Enter the registration token:
[GR1348941X34Vokx_zxB3cYYzAKNt]:
Enter a description for the runner:
[my-runner]:
Enter tags for the runner (comma-separated):
Enter optional maintenance note for the runner:
ERROR: Registering runner… failed runner=GR1348941X34Vokx_ status=POST http://ext-gitlab.xxxxxx.com/api/v4/runners: 500 Internal Server Error
PANIC: Failed to register the runner.
我的gitlab是docker容器启动的,gitlab和gitlab-runner都是15.4.2版本