Docker Community Forums

Share and learn in the Docker community.

Unable to push docker image to Openshift Origin Docker registry

I was trying to deploy a docker image I have created via Openshift. I followed the instructions in: http://www.opensourcerers.org/importing-an-external-docker-image-into-red-hat-openshift-v3/

However, as I tried to push my docker image to the Openshift registry, it did not succeed, as shown below.

[root@mymachine ~]# docker push 172.30.155.111:5000/default/mycostumedaemon

The push refers to a repository [172.30.155.111:5000/default/mycostumedaemon]

0a4a35d557a6: Preparing

025eba1692ec: Preparing

5332a889b228: Preparing

e7b287e8074b: Waiting

149636c85012: Waiting

f96222d75c55: Waiting

no basic auth credentials

Following are the docker version and openshift versions:

[root@mymachine ~]# docker --version

Docker version 1.11.0, build 4dc5990

[root@mymachine ~]# oc version

oc v1.2.0

kubernetes v1.2.0-36-g4a3f9c5

Well… Somehow it turned out to be a random error, which was resolved after rebooting the system and restarting all the services.!

I’m having a similar issue. It doesn’t seem like a random error.

devyani@devyanismint ~/work/phase2_poc $ sudo docker push 10.36.4.26:5000/ui/phase2poc_angular_1
[sudo] password for devyani:
The push refers to a repository [10.36.4.26:5000/ui/phase2poc_angular_1]
3de910b5740c: Preparing
e90e872de75e: Preparing
9c94fdde9dec: Preparing
fd4201d4d293: Preparing
4330b6b777d9: Preparing
366599611df1: Waiting
e6695624484e: Waiting
da59b99bbd3b: Waiting
5616a6292c16: Waiting
f3ed6cb59ab0: Waiting
654f45ecb7e3: Waiting
2c40c66f7667: Waiting
no basic auth credentials

Restarting doesn’t help? Any ideas?