Gitlab 运行程序在拉取 docker 镜像时卡住

发布于 2025-01-12 17:38:33 字数 242 浏览 4 评论 0原文

我试图在我托管的 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?
enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

熟人话多 2025-01-19 17:38:33

似乎同样的问题,运行 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文