<p>I have created a cluster of Kubernetes, and installed docker for each node.
When I try to pull or push an image to my local registry, using docker <code>push local_registry_addr:port/image_id</code>, I get the following response: <code>Get local_registry_addr:port/v2: http: server gave HTTP response to HTTPS client</code>.</p>

<p>This happens although I got the certificate from the registry server, and add it as a certificate on my docker server. If I try to <code>wget local_registry_addr:port</code>, I get <code>200 OK</code>. </p>

<p>How can I fix it? Is there anything I need to configure perhaps?</p>

<p>The problem was that I wasn't suppose to add the port - using <code>push local_registry_addr/image_id</code> worked fine.</p>
