Docker Community Forums

Share and learn in the Docker community.

DTR Not allwoing to Push images to Trusted Registry


(Abhijeetka) #1

Hi All,

i am facing issues while push images to trusted registry. Please find below the error log i am getting while pushing images.

root@ubuntu-VirtualBox:/usr/local/share/ca-certificates/build# docker push
The push refers to a repository []
687e6160b250: Waiting
5f70bf18a086: Waiting
b49bbbf1a541: Waiting
8337bcf4a1c2: Waiting
a7a9e211c63a: Waiting
341cbcafab0b: Waiting
56a0fcbba573: Waiting
5a7c58fd9e8a: Waiting
1906f818ab66: Waiting
0e35871a3f62: Waiting
bef943d84bf8: Waiting
c647cc18bbbf: Waiting
33baedea708a: Waiting
64a10e9c2c83: Waiting
a7aaef6ac0ee: Waiting
44267ec3aa94: Waiting
bd750002938c: Waiting
917c0fc99b35: Waiting
unauthorized: authentication required

This is the same machine on which i have created Trusted Registry and used to install certificates from this link :

Please provide soluiton.

kernal version 3.13
Docker Version : 1.10
if require other information please let me know.

(Riboez) #2

Can you verify that you can login to Docker registry using “docker login …” ?

(Gracco Guimaraes) #3

Same problem here

root@ddc-controller-poc ~]# docker login
Username (admin): admin
WARNING: login credentials saved in /root/.docker/config.json
Login Succeeded
[root@ddc-controller-poc ~]# docker push
The push refers to a repository []
5f70bf18a086: Preparing
33e7801ac047: Preparing
unauthorized: authentication required
[root@ddc-controller-poc ~]#

Centos 7
docker-engine 1.10.3
kernel 3.10.0

(Gracco Guimaraes) #4

Hey Guys, I could solve my issue, was a really rookie mistake, I wasn’t creating a repository name with the same name of the tag.

docker push
I didn’t have the hello-world repository created in my DTR, instead I was using hello_world.

So be careful, and another thing, I had a lot of issues with centos 7 using a Globalsign SSL certificate, but on Ubuntu 14.04 LTS was a charm, thanks.