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?

1 Like

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=/

Hey, i am facing the same issue. what should i set the context path ?

If you’re having issues with docker login, docker does not function with a non-root path. So you need to make sure you use the HTTP(S) connectors or the Nexus Pro subdomain feature for the docker repositories, and configure your system to use those.