You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

向Harbor仓库推送大镜像时遇unauthorized权限异常问题

向内部Harbor仓库推送大镜像时出现权限验证失败问题

向内部部署的Harbor仓库推送约1GB的大镜像时遇到异常:在推送完最大的镜像层后,突然返回权限验证失败错误,具体输出如下:

7ba86e9d77ed: Pushed
ca342045cd28: Pushed
5f70bf18a086: Layer already exists                                                                                                                                                                                                                                           fa207eefdbc6: Pushed
0d3699b83b74: Pushing [==================================================>]  740.4MB
b60202ed5161: Pushed
9215743a08fe: Pushed
c2497f867b97: Pushed
c0fcee1f0005: Pushed
e29c10a8f5af: Pushed
5c4895a3935f: Pushed
df651bb07449: Pushed
7d578c5b3942: Pushed
498bbcc60d01: Layer already exists
c0e21dcee623: Layer already exists
d6b19a46b795: Layer already exists
e6c05e83c163: Layer already exists
256d88da4185: Layer already exists
unauthorized: unauthorized to access repository: nvidia-operator/driver, action: push: unauthorized to access repository: nvidia-operator/driver, action: push

但使用完全相同的凭证推送小镜像(例如拉取后重新打标签的busybox)时,没有任何问题。有人遇到过类似情况吗?

编辑:已通过调整Harbor的token过期时间配置解决该问题。

内容的提问来源于stack exchange,提问作者Michele Ietri

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.27 09:52:15