title: Docker login: access denied you must use a personal access token
body: <p>Trying to login from docker to gitlab using the command:</p>
  <pre><code>sudo docker login registry.gitlab.com?private_token=XXX
  </code></pre>
  <p>But I still have the following error message:</p>
  <pre><code>Error response from daemon: Get https://registry.gitlab.com/v2/: unauthorized: HTTP Basic: Access denied\nYou must use a personal access token with 'api' scope for Git over HTTP.\nYou can generate one at https://gitlab.com/-/profile/personal_access_tokens
  </code></pre>
  <p>The token has the right access I doubled checked... I am rather new to docker, any hint/help? thanks!</p>