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 <[email protected]> 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: [email protected]
> 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
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to