From c9a8bde5d3927cc32f96842bc1450c3599086ed5 Mon Sep 17 00:00:00 2001 From: huyuchengus Date: Sat, 29 Mar 2025 02:20:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E4=BB=BD=E5=8D=9A=E6=96=87=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CSDN博文备份/NexusDocker推送提示授权错误-146636445.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 CSDN博文备份/NexusDocker推送提示授权错误-146636445.md diff --git a/CSDN博文备份/NexusDocker推送提示授权错误-146636445.md b/CSDN博文备份/NexusDocker推送提示授权错误-146636445.md new file mode 100644 index 0000000..a65f00c --- /dev/null +++ b/CSDN博文备份/NexusDocker推送提示授权错误-146636445.md @@ -0,0 +1 @@ +

推送 Docker Image 到 Nexus 上的提示错误:



Unable to push 'zchub-policy-data-service:0.0.1-SNAPSHOT' to registry 'repo-docker.isharkfly.com' : unauthorized: access to the requested resource is not authorized


2025-03-28_13-54-12



问题解决


Nexus 需要对能够访问 Docker 仓库的用户授权。


至少要赋予下面 3 个权限才行。



2025-03-28_14-10-08


赋权后不需要重启 Nexus,可以直接进行重构。



2025-03-28_14-08-25




如果能看到镜像上传成功则说明一切正常。



https://www.isharkfly.com/t/nexus-docker/17105

\ No newline at end of file