0
在一個dockerized gitlab澆道的bash:爲什麼我無法將dockerized gitlab runner連接到dockerized gitlab ci?
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
http://localhost:4311
Please enter the gitlab-ci token for this runner:
xxxxxxxxxxxx
Please enter the gitlab-ci description for this runner:
[runner]: dockerizedrunner
Please enter the gitlab-ci tags for this runner (comma separated):
powershell
Whether to run untagged builds [true/false]:
[false]: true
Whether to lock Runner to current project [true/false]:
[false]: false
ERROR: Registering runner... failed runner=xxxxxx status=couldn't execute POST against http://localhost:4364/api/v4/runners: Post http://localhost:4364/api/v4/runners: dial tcp 127.0.0.1:4311: getsockopt: connection refused
PANIC: Failed to register this runner. Perhaps you are having network problems
我試圖與3個轉發端口(22,80,443轉發到4311,4312,4313)。我應該如何設置它?
你如何運行'gitlab'和'gitlab-runnet'。你能告訴我們一些'docker-compose'文件,或者運行這個容器的命令。 –
實際上我做碼頭運行gitlab/gitlab-ce和碼頭運行gitlab/gitlab-runner。然後在kitematic中我轉發gitlab-ce的端口(22,80,443) – koller23