<p>I am trailing Kubernetes on AWS, and I have a cluster set up, but having trouble creating an application by pulling a docker image from an insecure repo.</p>
<p>When I created the cluster, I ensured that the environment variable <code>KUBE_ENABLE_INSECURE_REGISTRY=true</code> was set to true. But I still don't seem to be able to pull from this repo.</p>
<p>The logs show (edited application name and registry URL):</p>
<blockquote>
<p>Error syncing pod, skipping: failed to &quot;StartContainer&quot; for &quot;<em><em><strong>&quot;
with ErrImagePull: &quot;API error (500): unable to ping registry endpoint
https://docker-registry.</strong></em>.com:5000/v0/\nv2 ping attempt failed with
error: Get https://docker-registry.</em><strong>.com:5000/v2/: EOF\n v1 ping
attempt failed with error: Get
https://docker-registry.</strong>*.com:5000/v1/_ping: EOF\n&quot;</p>
</blockquote>
<p>Can anyone please advise on this?</p>
<p>Thanks</p>

osmo
<p>According to this <a href="https://github.com/kubernetes/kubernetes/blob/release-1.2/cluster/gce/config-default.sh#L85" rel="nofollow">code</a>, it seams that, only registries on network 10.0.0.0/8 can be insecure, is your registry on this range? What about setting <code>EXTRA_DOCKER_OPTS="--insecure-registry YOUR_REGISTRY_IP"</code> manually to docker environment file? Is that possible for you?</p>
