Gitlab 运行程序在拉取 docker 镜像时卡住
我试图在我托管的 gitlab 服务器中运行 gitlab-ci,并选择 docker 作为 gitlab-runner 执行器,但在 pipline 中它被卡住并且无法工作。 我应该怎么做才能解决这个问题?
I was trying to run my gitlab-ci in my hosted gitlab server and I picked docker for gitlab-runner executer but in pipline it got stucked and doesn't work.
What should I do to fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎同样的问题,运行 docker 的机器位于代理服务器后面,这就是为什么它在尝试拉取映像时卡住的原因。
如果您能够登录机器并检查互联网访问。
检查您是否使用某种代理?
您的 ID 可能具有 SSO 到代理,因此您的 ID 可以工作..如果 gitlab-runner 服务在不同的帐户上运行,则该帐户可能无法访问互联网
Seems the same issue, the Machine on which the docker is running, is sitting behind a proxy server, which is why its getting stuck when its trying to pull the image.
If you are able to login to the machine and check the internet access..
Check if you are using some kind of proxy or not?
Your ID may have SSO to Proxy and hence your ID works .. if the gitlab-runner service runs on a different account, that account may not have internet access