在Gitlab容器注册表中看不到容器图像

时间:2020-04-28 20:25:20

标签: docker gitlab container-registry

我在Ubuntu(在Virtual Box上)上配置了GitLab(GitLab企业版12.9.3),包括容器注册表(为Docker启用了“不安全的注册表”)。

当我尝试在GitLab中检索容器图像时,出现“没有为该项目存储的容器图像”(但是当我使用curl调用时,会看到图像)。我希望看到容器图像。

看注册表日志,我看到:

time =“ 2020-04-23T21:34:01.853271246Z” level = error msg =“响应已完成,但出现错误” err.code =“名称未知” err.detail = map [name:joachimaltmeyer / sanfrancisco2]错误。 message =“注册表不知道的存储库名称” go.version = go1.11.2 http.request.host =“ 192.168.178.42:5000” http.request.id = bcffcac6-6373-4673-a4b0-77a157b35dea http.request.method = GET http.request.remoteaddr =“ 192.168.178.42:33436” http.request.uri =“ / v2 / joachimaltmeyer / sanfrancisco2 / tags / list” http.request.useragent =“法拉第v0.15.4” http.response.contenttype =“ application / json; charset = utf-8” http.response.duration = 1.167887ms http.response.status = 404 http.response.write = 137 vars.name =“ joachimaltmeyer / sanfrancisco2”

我不是Gitlab专家,但在我看来该分支缺少了,例如调用了“ / v2 / joachimaltmeyer / sanfrancisco2 / tags /列表”,而不是“ / v2 / joachimaltmeyer / sanfrancisco2 / master / tags /列表”

我发现this issue可以从我的角度描述问题,但是没有描述解决方案。

0 个答案:

没有答案