-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
az container create
throwing ERROR: (RegistryErrorResponse) An error response is received from the docker registry 'index.docker.io'. Please retry later.
#29300
Comments
Thank you for opening this issue, we will look into it. |
We are also experiencing this issue for at least the last 18 hours. When running the Example command:
|
Hey guys, Thanks for looking into this. We have been experiencing this issue on and off for the past couple of weeks. But as of the past 24 hours it's been consistently failing. It's preventing our deployment process from going out. Here's what our pipeline log looks like.
|
I think I can now confirm this @abarqawi. Initially I was sceptical as we were using an image from ACR, not from the public registry. However, we have now determined that we also pull an image from the public registry at the same time and this was causing the failure due to the rate limiting as mentioned. The workaround is to copy the public image to the Azure Container Registry and pull it from there. I still don't think that we are hitting the free limit though and think that this could be caused by some sort of shared resource. |
Thanks @abarqawi. Time to change to azure container registry... |
Great! Thanks for that @abarqawi |
I don't understand, it says unauthenticated users can pull up to 100 images per 6-hour period. I pull 2-3 images and get this error. |
Any update on this issue ? |
@avalanche-tm 100 pulls per 6 hours per IP address. Who else is using the IP address? |
Can anyone assist more on this?? I don't want to spin up an ACR - I just want to use docker.io authenticated using the az container create command I would prefer not to have to do a weird hybrid local docker pulling / pushing to an ACR - again we're back to something that should be able to be handled all cloud-native. |
@magliok-wwt you can try to create ACI az follows https://learn.microsoft.com/en-us/cli/azure/container?view=azure-cli-latest#az-container-create
Something like: |
Yeah unfortunately that requires you stand up an entire ACR, have docker locally running and manage images pull / push. I wanted to be able to pull an image - directly from docker.io registry - just authenticated. I just haven't seen anyone use those switches for anything other than an ACR, gotta work for docker though too right? |
This will create ACI from authenticated dockerhub without using ACR , az container create |
Describe the bug
When trying to create a container using the Azure CLI Container Create command, we get a
RegistryErrorResponse
error.This is trying to deploy an image from an Azure private registry.
This was working yesterday with the same version as today: 2.61.0
I can supply more of my own configuration on request if necessary.
Related command
az container create --resource-group $RESOURCE_GROUP --file $ACI_FILE
Errors
ERROR: (RegistryErrorResponse) An error response is received from the docker registry 'index.docker.io'. Please retry later.
Issue script & Debug output
Unable to provide this at this time.
Expected behavior
The container should be created.
Environment Summary
azure-cli 2.61.0
core 2.61.0
telemetry 1.1.0
Extensions:
azure-devops 1.0.1
Dependencies:
msal 1.28.0
azure-mgmt-resource 23.1.1
Python location '/opt/az/bin/python3'
Extensions directory '/opt/az/azcliextensions'
Python (Linux) 3.11.8 (main, May 16 2024, 03:47:28) [GCC 11.4.0]
Additional context
Another person having the exact same issue since today with a public registry.
link
The text was updated successfully, but these errors were encountered: