Docker Community Forums

Share and learn in the Docker community.

Docker-Jenkins | Authentication | Docker push


(Dudusolutions) #1

Hi, i’m still learning how to use docker and I followed this guide which combines jenkins and docker to deploy a simple application. (https://www.docker.com/sites/default/files/RA_CI%20with%20Docker_08.25.2015.pdf)
I followed all the steps, but when i try to “docker push dtr.mikegcoleman.com/hello-jenkins:$GIT_COMMIT” I need authentication and the job fails.

I tried docker login localhost:8080 with user: "root" and password: “rootpw”. But cant login.

Using Centos 7.1


(Jeff Anderson) #2

Hello,

If you are trying to log in to DTR at ‘dtr.mikegcoleman.com’, then you’ll need to log in with ‘docker login dtr.mikegcoleman.com’ instead of ‘docker login localhost:8080’.