Sorry if i shouldn't open this issue again but i am running into the exact same issue,
I have confirmed that the user id and password work fine by manually pushing the image from the remote slave, the issue is when i try to push the same using the plugin it breaks.
Additionally if I try to
docker login -u abcdef -p ******* -e email@example.com docker-registry.com
docker logout docker-registry.com
This setup works fine, seems to me like something is not getting passed (especially the credentials)
Below are the details of the plugins installed
CloudBees Docker Build and Publish plugin - 1.0
Docker Commons Plugin - 1.2
Credentials Plugin - 1.23
Can you please help..!