kaniko
kaniko copied to clipboard
pull from registry retry?
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?
We started to getting this error too. I have tried to do docker login but I think kaniko handle this differently.
would be great if it could try dockerhub registry first then fallback to publicECR registry ie https://gallery.ecr.aws/docker/library/python
Flag --registry-mirror may solve the your problem
https://github.com/GoogleContainerTools/kaniko?tab=readme-ov-file#flag---registry-mirror