I have installed Kubernetes in Ubuntu server using instructions here 
<https://github.com/kubernetes/minikube/blob/master/README.md>. I am trying 
to create pods using `kubectl run hello-minikube 
--image=gcr.io/google_containers/echoserver:1.4 --hostport=8000 
--port=8080` as listed in the example. However, when I do `kubectl get pod` 
I get the status of the container as `pending`. 

It seems to me that the images are not being pulled 
from https://gcr.io/google_containers/. I also tried  docker search 
gcr.io/google-containers/echoserver:1.4 and I get the error :

Error response from daemon: invalid registry endpoint https://gcr.io/v0/: 
unable to ping registry endpoint https://gcr.io/v0/
v2 ping attempt failed with error: Get https://gcr.io/v2/: dial tcp 
64.233.184.82:443: i/o timeout
 v1 ping attempt failed with error: Get https://gcr.io/v1/_ping: dial tcp 
64.233.184.82:443: i/o timeout. If this private registry supports only HTTP 
or HTTPS with an unknown CA certificate, please add `--insecure-registry 
gcr.io` to the daemon's arguments. In the case of HTTPS, if you have access 
to the registry's CA certificate, no need for the flag; simply place the CA 
certificate at /etc/docker/certs.d/gcr.io/ca.crt

Does anyone know how to fix this problem? Thank you in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Containers at Google" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-containers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to