You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For each pod we also create an infra container that is used to workaround some docker limitation. This artificial container uses image gcr.io/google_container/pause:go (or something similar). From your error message I assume this step failed. Do you have some more logs about this failure?
As you say, I see the logs carefully, and find it really the "gcr.io/google_container/pause" image can not pull, is there any other way to pull the image? @fgrzadkowski Thanks a lot
Error syncing pod, skipping: failed to "StartContainer" for "POD" with ErrImagePull: "image pull failed for gcr.io/google_containers/pause-amd64:3.0, this may be because there are no credentials on this request. details: (net/http: request canceled)"
这是docker的日志:
Oct 11 16:13:52 mg1 docker-current: time="2016-10-11T16:13:52.267336913+08:00" level=error msg="Handler for GET /images/gcr.io/google_containers/pause-amd64:3.0/json returned error: No such image: gcr.io/google_containers/pause-amd64:3.0"
Oct 11 16:13:58 mg1 docker-current: time="2016-10-11T16:13:58.267522810+08:00" level=error msg="Handler for GET /images/gcr.io/google_containers/pause-amd64:3.0/json returned error: No such image: gcr.io/google_containers/pause-amd64:3.0"
Oct 11 16:14:06 mg1 docker-current: time="2016-10-11T16:14:06.267927214+08:00" level=error msg="Handler for GET /images/gcr.io/google_containers/pause-amd64:3.0/json returned error: No such image: gcr.io/google_containers/pause-amd64:3.0"
Oct 11 16:14:12 mg1 docker-current: time="2016-10-11T16:14:12.272394436+08:00" level=error msg="Handler for GET /images/gcr.io/google_containers/pause-amd64:3.0/json returned error: No such image: gcr.io/google_containers/pause-amd64:3.0"
When you start kubelet you can specify an alternative pause image using --pod-infra-container-image=. I uploaded a copy of pause to Aliyun China registry sometime ago. You can use it if you want. The address is registry.aliyuncs.com/archon/pause-amd64:3.0
Activity
roberthbailey commentedon Apr 21, 2015
If you want to pull an image from the public dockerhub, you don't need to add a domain name prefix. You can just say "image": "redis".
lokikiller commentedon Apr 21, 2015
thanks for your answering, but it also can not take effect when i change it to "image":“redis”, it also pulling from gcr.io @roberthbailey
fgrzadkowski commentedon Apr 21, 2015
For each pod we also create an infra container that is used to workaround some docker limitation. This artificial container uses image gcr.io/google_container/pause:go (or something similar). From your error message I assume this step failed. Do you have some more logs about this failure?
lokikiller commentedon Apr 21, 2015
As you say, I see the logs carefully, and find it really the "gcr.io/google_container/pause" image can not pull, is there any other way to pull the image? @fgrzadkowski Thanks a lot
fgrzadkowski commentedon Apr 21, 2015
What's your environment? Where do you start your cluster?
lokikiller commentedon Apr 21, 2015
I am in China, the environment is in my laboratory with some Blade servers using centos7. @fgrzadkowski
fgrzadkowski commentedon Apr 21, 2015
Can you ping gcr.io? This seems similar to #6888
lokikiller commentedon Apr 21, 2015
Thank you very much~ @fgrzadkowski
gl328518397 commentedon Oct 11, 2016
Error syncing pod, skipping: failed to "StartContainer" for "POD" with ErrImagePull: "image pull failed for gcr.io/google_containers/pause-amd64:3.0, this may be because there are no credentials on this request. details: (net/http: request canceled)"
这个问题怎么解决??
gl328518397 commentedon Oct 11, 2016
这是docker的日志:
Oct 11 16:13:52 mg1 docker-current: time="2016-10-11T16:13:52.267336913+08:00" level=error msg="Handler for GET /images/gcr.io/google_containers/pause-amd64:3.0/json returned error: No such image: gcr.io/google_containers/pause-amd64:3.0"
Oct 11 16:13:58 mg1 docker-current: time="2016-10-11T16:13:58.267522810+08:00" level=error msg="Handler for GET /images/gcr.io/google_containers/pause-amd64:3.0/json returned error: No such image: gcr.io/google_containers/pause-amd64:3.0"
Oct 11 16:14:06 mg1 docker-current: time="2016-10-11T16:14:06.267927214+08:00" level=error msg="Handler for GET /images/gcr.io/google_containers/pause-amd64:3.0/json returned error: No such image: gcr.io/google_containers/pause-amd64:3.0"
Oct 11 16:14:12 mg1 docker-current: time="2016-10-11T16:14:12.272394436+08:00" level=error msg="Handler for GET /images/gcr.io/google_containers/pause-amd64:3.0/json returned error: No such image: gcr.io/google_containers/pause-amd64:3.0"
pigletfly commentedon Dec 13, 2016
@gl328518397
gcr.io
is blocked by GFWledzep2 commentedon Mar 29, 2017
When you start kubelet you can specify an alternative pause image using
--pod-infra-container-image=
. I uploaded a copy of pause to Aliyun China registry sometime ago. You can use it if you want. The address isregistry.aliyuncs.com/archon/pause-amd64:3.0
@gl328518397 @lokikiller
upccup commentedon Jun 14, 2017
@fgrzadkowski sorry to bother you
is there way wirh not create an infra container that is used to workaround some docker limitation?
fgrzadkowski commentedon Jun 14, 2017
AFAIK it's not possible.
gbraad commentedon Dec 1, 2018
Just for information, the following discussion was related: https://stackoverflow.com/questions/29764612/failed-to-pull-images-from-dockerhub-in-kubernetes-0-15
The OP is in China and can therefore not pull from gcr.io (as this is hosted by Google), thanks to the GFW.