我通过helm-harbor安装了harbor,版本是v1.1.0。
我的问题是我可以docker login
在终端上成功,并且成功docker push
图像,但是之后港口网页中没有图像显示,那里没有任何图像。
我查看了 pod Harbor-registry 的容器注册中心的日志,不断产生如下信息,不知道是不是和我的问题有关系。
10.244.3.1 - - [05/Jul/2019:16:52:08 +0000] "GET / HTTP/1.1" 200 0 "" "kube-probe/1.12"
10.244.3.1 - - [05/Jul/2019:16:52:12 +0000] "GET / HTTP/1.1" 200 0 "" "kube-probe/1.12"
time="2019-07-05T16:52:15.959957799Z" level=info msg="response completed" go.version=go1.11.8 http.request.host="telling-hydra-harbor-registry:5000" http.request.id=4e553265-0dcc-4e8d-86fe-80f76bfc1a1d http.request.method=GET http.request.remoteaddr="10.244.3.193:57186" http.request.uri="/v2" http.request.useragent="Go-http-client/1.1" http.response.contenttype="text/html; charset=utf-8" http.response.duration="276.091µs" http.response.status=301 http.response.written=39
10.244.3.193 - - [05/Jul/2019:16:52:15 +0000] "GET /v2 HTTP/1.1" 301 39 "" "Go-http-client/1.1"
time="2019-07-05T16:52:15.963158432Z" level=debug msg="authorizing request" go.version=go1.11.8 http.request.host="telling-hydra-harbor-registry:5000" http.request.id=3e6c1e3e-f26a-411f-bd53-05a5bedfe562 http.request.method=GET http.request.referer="http://telling-hydra-harbor-registry:5000/v2" http.request.remoteaddr="10.244.3.193:57186" http.request.uri="/v2/" http.request.useragent="Go-http-client/1.1"
10.244.3.193 - - [05/Jul/2019:16:52:15 +0000] "GET /v2/ HTTP/1.1" 401 87 "http://telling-hydra-harbor-registry:5000/v2" "Go-http-client/1.1"
time="2019-07-05T16:52:15.963272246Z" level=warning msg="error authorizing context: authorization token required" go.version=go1.11.8 http.request.host="telling-hydra-harbor-registry:5000" http.request.id=3e6c1e3e-f26a-411f-bd53-05a5bedfe562 http.request.method=GET http.request.referer="http://telling-hydra-harbor-registry:5000/v2" http.request.remoteaddr="10.244.3.193:57186" http.request.uri="/v2/" http.request.useragent="Go-http-client/1.1"
有没有人可以帮助我?谢谢。