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

Re: Push to registry sometimes fails



Docker assumes that the registry talks TLS. It will only use http if you specify the registry is insecure (typically via '--insecure-registry 172.30.0.0/16' in /etc/sysconfig/docker).

Is your registry secured?

On Wed, Dec 7, 2016 at 8:11 PM, Cameron Braid <cameron braid com au> wrote:
I am occasional getting this error after a build when pushing to the internal registry :

Pushed 10/12 layers, 83% complete
Registry server Address: 
Registry server User Name: serviceaccount
Registry server Email: serviceaccount example org
Registry server Password: <<non-empty>>
error: build error: Failed to push image: Get http://172.30.25.196:5000/v2/: malformed HTTP response "\x15\x03\x01\x00\x02\x02"

It looks like the pusher is using http to talk to the https registry.  

What tells the pusher that the registry is TLS ?

Cheers

Cameron

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



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