dattran
By:
dattran

How to push image to private docker registry

June 15, 2016 1.2k views
Docker

It's not a question. I don't know where I can post this tip

Today I tried to setup private docker registry on Ubuntu 14.04

Everything goes fine. I tried to build one docker image and tag
Next, I tried to push this image to private docker registry but I always receive "tls: oversized record received with length 20527"

I tried to search on google and changed /etc/default/docker (add --insecure-registry)


--insecure-registry hostname.goes.here:5000
--insecure-registry http://hostname.goes.here:5000

it fails. If I change to:
--insecure-registry=hostname.goes.here:5000

It works.

Be the first one to answer this question.