title: Error unauthorized: HTTP Basic: Access denied on docker push registry.gitlab.com
body: <p>I have error with:</p>
  
  <pre><code>docker push registry.gitlab.com/user/rep-name
  
  The push refers to repository [registry.gitlab.com/user/rep]
  f319ccdf8ee4: Preparing 
  ..
  7032a7172c0a: Preparing 
  b16cd70f3a2c: Waiting 
  ...
  unauthorized: HTTP Basic: Access denied
  </code></pre>
  
  <p>But prev login is Succeeded:</p>
  
  <pre><code>docker login registry.gitlab.com
  Username: user
  Password: 
  Login Succeeded
  </code></pre>
  
  <p>Docker ver:</p>
  
  <pre><code>docker -v
  Docker version 19.03.8, build afacb8b7f0
  </code></pre>
  
  <p>I use Personal Access Token is "api"
  <a href="https://gitlab.com/profile/personal_access_tokens" rel="noreferrer">https://gitlab.com/profile/personal_access_tokens</a></p>
  
  <p>because I have 2-factor athorization.</p>