<p>We are trying to set up a Docker repository in Nexus OSS (v3.3.2-02) in a Kubernetes cluster, and having issues logging in to it.  We are intending to have a proxy set up for DockerHub, a private repo, and a group repo to tie the two together, using the below configurations</p>

<p><strong>Hosted</strong>
<a href="https://i.stack.imgur.com/2noWd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2noWd.png" alt=""></a></p>

<p><strong>Proxy</strong>
<a href="https://i.stack.imgur.com/GZpJ4.png" rel="noreferrer"><img src="https://i.stack.imgur.com/GZpJ4.png" alt="enter image description here"></a></p>

<p><strong>Group</strong>
<a href="https://i.stack.imgur.com/l1sZh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/l1sZh.png" alt="enter image description here"></a></p>

<p>giving us the following list:</p>

<p><a href="https://i.stack.imgur.com/o6O57.png" rel="noreferrer"><img src="https://i.stack.imgur.com/o6O57.png" alt="enter image description here"></a></p>

<p>But when I try to log in to the repository, it appears it's trying to forward me to a <code>/v2</code> endpoint, which is throwing a 404 error:</p>

<pre><code>&gt; docker login -u &lt;user&gt; -p &lt;pass&gt; https://repo.myhost.com:443
Error response from daemon: login attempt to https://repo.myhost.com:443/v2/ failed with status: 404 Not Found
</code></pre>

<p>I would like to add that we have Maven and NPM repositories set up in this same instance and they're working, so it appears Nexus itself is OK, but there's something wrong with the Docker configuration.</p>

<p>I don't know why this request is trying to send me to the <code>/v2</code> endpoint when trying to log in.  What am I missing?  </p>

<p>Docker requires very specific URL layout and does not allow for any context URL hence the need for Docker connectors to allow Docker client to connect to NXRM. Your screenshot shows you have configured Docker connector for your Docker hosted repository on port 444, but your terminal capture shows you're attempting to connect on port 443 which isn't your Docker connector port. The error message you have suggest your NXRM server indeed runs on port 443, but because of how Docker works you need to access it using port 444. Please try: <code>docker login -u &lt;user&gt; -p &lt;pass&gt; https://repo.myhost.com:444</code> so it attempts to use your Docker connector port. Also, it's always a good idea to run the latest version of Nexus.</p>
