推送 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
问题解决
Nexus 需要对能够访问 Docker 仓库的用户授权。
至少要赋予下面 3 个权限才行。
赋权后不需要重启 Nexus,可以直接进行重构。
如果能看到镜像上传成功则说明一切正常。