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