Failed to pull images from dockerhub in Kubernetes 0.15

4/21/2015

I followed kubernetes' guestbook, and changed image value like this, want to pull images from dockerhub.

"image": "redis"

But it failed. the log say:

Failed to create pod infra container: image pull failed for gcr.io/google_c...

And I set preloading images instructions:

"imagePullPolicy":"Never"

I am sure about the minion have the redis image

But it also failed, and pulled from gcr.io

-- lokikiller
kubernetes
kubernetes-pod

1 Answer

4/21/2015

Since you are in China, you won't be able to fetch images from gcr.io (including the pause image). If you want to compile your own pause image and upload it to an image registry that you have access, you can specify --pod_infra_container_image="<registry>/pause:latest" when launching the kubelet.

-- Robert Bailey
Source: StackOverflow