Docker login does not work; responds "Login Succeeded" to everything

Expected behavior

  • When username/ password is invalid, get an error
  • When username/ password is valid, get authenticated and registry set in the docker config

Actual behavior

  • When username/ password is invalid, I am getting response “Login Succeeded”
  • When username/ password is valid, I am getting response “Login Succeeded” but I am not actually logged in (as I can tell looking at the registry property in docker info or by attempting to pull image)

Information

  • the output of … 531937F0-24FF-4167-88EF-E6753C4BB719
  • host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc ): 10.11.5

Steps to reproduce the behavior

  1. Execute docker login --username foo --password bar gitlab.com

Related