[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Can't upload images to docker-registry



Hello Clayton,

Now I'm accessing to the Docker registry from the node as you said, but I'll try to add a route for access from other external PC's


Thanks.

2015-08-20 16:13 GMT+02:00 Clayton Coleman <ccoleman redhat com>:
You can only access the Docker registry on a node if you are on an existing node already, or if you add a route for the registry and then access it externally.

On Thu, Aug 20, 2015 at 3:13 AM, Fran Barrera <franbarrera6 gmail com> wrote:
I had trying with the master, but it is not a node, from node it's worked.


Thanks and Regards.

2015-08-19 17:13 GMT+02:00 Clayton Coleman <ccoleman redhat com>:
Are you doing this from a node, or from outside the nodes?

On Wed, Aug 19, 2015 at 10:37 AM, Fran Barrera <franbarrera6 gmail com> wrote:
Hello,


I have a problem with uploading images to docker-registry. In the documentation I can see these steps:

$ docker pull busybox


But when I try to do docker push..  I get this error:

Error response from daemon: invalid registry endpoint "http://172.30.52.98:5000/v0/". HTTPS attempt: unable to ping registry endpoint https://172.30.52.98:5000/v0/
v2 ping attempt failed with error: Get https://172.30.52.98:5000/v2/: dial tcp 172.30.52.98:5000: i/o timeout
 v1 ping attempt failed with error: Get https://172.30.52.98:5000/v1/_ping: dial tcp 172.30.52.98:5000: i/o timeout. HTTP attempt: unable to ping registry endpoint http://172.30.52.98:5000/v0/
v2 ping attempt failed with error: Get http://172.30.52.98:5000/v2/: dial tcp 172.30.52.98:5000: i/o timeout
 v1 ping attempt failed with error: Get http://172.30.52.98:5000/v1/_ping: dial tcp 172.30.52.98:5000: i/o timeout

 I think that this is normal because this IP is unreachable.

 Master IP's:

 # ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.17.42.1  netmask 255.255.0.0  broadcast 0.0.0.0
        ether 56:84:7a:fe:97:99  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.0.20  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fec3:21df  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:c3:21:df  txqueuelen 1000  (Ethernet)
        RX packets 1497067  bytes 281781756 (268.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1487248  bytes 257748539 (245.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

The interface docker0 must be 172.30.X.X/16 to permit me connect with docker-registry?


Thanks and Regards

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users




--
Clayton Coleman | Lead Engineer, OpenShift




--
Clayton Coleman | Lead Engineer, OpenShift


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]