-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
docker push leads to "unauthorized to access repository: my-test-project/foo, action: push:" #13553
Comments
Apparently this is a problem with "docker-credential-helpers", see docker/docker-credential-helpers#158 |
我也碰到这个问题了 好像不是过期的凭证 不知道 楼主是否解决了 |
relogin. |
重新登录 |
解决了 在harbor的nginx进行配置 |
在 common/config/nginx/nginx.conf |
Hi. |
我发现我改了common/config/nginx/nginx.conf之后,重新 ./install 安装运行起来,发现nginx.conf的配置文件又恢复默认内容了,我添加的你说的这三行并没有生效 |
当我通过负载均衡用途的Nginx反向代理 harbor-nginx的时候,也遇到类似问题。后来检查一些成功案例做对比,发现是漏了一行
全部内容:
对此, bing解释是:
|
this solved my issue |
I have a brand-new Harbor install here and I cannot push any container image to any project, although I am admin.
I, e.g., execute the following commands:
So according to the output, I logged in successfully, but I am not authorized to push. Why is that? The Harbor Web UI says that I am "Project Admin" for the project "my-test-projects" and I am also in the LDAP admin group that is listed unter "Configuration -> Authentication".
This is a stand-alone Harbor install that I installed on an on-premise server using the Harbor Online installer and
sudo ./install.sh --with-trivy
. I created a systemd service that starts Harbor viadocker-compose up
. There is no Kubernetes or any other container/cloud infrastructure involved. Just plain Harbor with docker.Versions:
Additional context:
Can anybody tell me, what's wrong here?
The text was updated successfully, but these errors were encountered: