-
Notifications
You must be signed in to change notification settings - Fork 760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to push docker image to harbor registry? #61
Comments
Looks like the ingress controller failed to route the request to registry service. |
yes, it's couldn't use ingress, why? |
You need to debug and check the log of your ingress controller. @liudaze |
no ingress logs. |
我也有这样的问题,不知道如何解决?版本1.6 |
@shayulei 安装的时候怎么配置的Harbor chart? |
‘helm install . --debug --name my-harbor --namespace harbor --set externalDomain=harbor.microvast.com.cn,insecureRegistry=true -f ./values1.yaml’ |
ingress使用的七层协议,而docker image的pull和push使用的四层,所以无法直接通过ingress对docker image进行pull和push操作。你可以给registry的svc暴露node port,然后用ip + 端口号,可以push。 |
端口是5000,还是8080? |
5000 |
@liudaze Yes. 能否提供下log好帮助定位问题出在什么地方 |
|
能加下qq吗,我直接向您请教。我的是2960179330 |
@shayulei @liudaze Try the workaround in issue goharbor/harbor#5291 or deploy Harbor with HTTPS enabled. |
经过测试加了80端口,的确故障消失。 |
我现在想使用HTTPS,修改了values.yaml里的 ExternalURL: https://harbor.microvast.com.cn, |
使用的镜像应该不是最新的。把 |
成功了,要手动的下载一下镜像,网络不是太好,改成Alays后,其它POD启动失败。 |
什么原因导致的启动失败? |
查不出来,104错误。 |
改成Alays后,问题已解决,非常谢谢各位大神 |
大家好:
我的Harbor已经搭建完成。用的ingress暴露的服务。其中externalURL为:
可以用“docker login harbor.liudz.net”登录成功。但是在push image的时候一直报如下错误:
求助,我改怎么上传我本地的docker image呢?
The text was updated successfully, but these errors were encountered: