Docker login issue 404

Hello,
i have installed latest nexus docker image on kubernetes with ingress
i can login thru nexus console fine.

when i do docker login mynexus-fqdn:ingress-port -u admin

i get Error response from daemon: login attempt to https://mynexus-fqdn/v2/ failed with status: 404 Not Found

has anyone seen this issue?

3 Likes

I was able to fix it by explicitly setting my context path in nexus.properties. The issue was the connector was creating the wrong internal URL and could not find the repository.
nexus-context-path=/