kaniko icon indicating copy to clipboard operation
kaniko copied to clipboard

pull from registry retry?

Open tooptoop4 opened this issue 2 years ago • 3 comments

kaniko can fail with this

Retrieving image python:3.10.10-slim from registry index.docker.io
error building image: GET https://index.docker.io/v2/library/python/manifests/3.10.10-slim: TOOMANYREQUESTS: You have reached your pull rate limit. You may increase the limit by aut
henticating and upgrading: https://www.docker.com/increase-rate-limit

is there option to make it retry in 5mins? also can it fallback to a 2nd registry?

tooptoop4 avatar Feb 17 '23 00:02 tooptoop4

We started to getting this error too. I have tried to do docker login but I think kaniko handle this differently.

Mistic92 avatar Apr 21 '23 14:04 Mistic92

would be great if it could try dockerhub registry first then fallback to publicECR registry ie https://gallery.ecr.aws/docker/library/python

tooptoop4 avatar Jul 02 '23 11:07 tooptoop4

Flag --registry-mirror may solve the your problem

https://github.com/GoogleContainerTools/kaniko?tab=readme-ov-file#flag---registry-mirror

narasux avatar May 10 '24 03:05 narasux