我有在测试环境中运行的GitLab的最新码头图像,我遇到了GitLab亚军的问题。这是无法通过HTTP链接克隆,得到以下信息:GitLab亚军无法通过http克隆存储库
Running on runner-bd27e50b-project-1-concurrent-0 via machine...
Cloning repository...
Cloning into '/builds/my/awesome-project'...
fatal: unable to access 'http://gitlab-ci-token:[email protected]/my/awesome-project.git/': Failed to connect to 127.0.0.1 port 80: Connection refused
ERROR: Build failed with: exit code 1
我跑gitlab亚军与--debug
标志,并用它试图(与-圆通令牌)的确切地址,我可以克隆存储库就好了。我不知道为什么服务无法克隆存储库。跑步执行者也被配置为'码头'。也许有一些端口映射问题进入该容器?
我有同样的问题。你能扩展你的答案吗?你究竟如何改正它? – Onlyjus
@Onlyjus我加了一点更多的解释,希望有帮助。TL; DR:注册您的跑步者以在Docker虚拟网络适配器上指向您的主机IP。 – Anthony