<ol>
<li><p>Verify ACR Service Availability
• Ensure that the Azure ACR service is operational in the Azure region where your registry is hosted. Check the Azure status page:
Azure Status (<a href="https://status.azure.com/" rel="nofollow noreferrer">https://status.azure.com/</a>)
• If there are ongoing outages in your region, this could be the cause.</p>
</li>
<li><p>Check ACR Permissions
• Ensure the credentials used for pulling the image have the correct permissions.
◦ If using a service principal, confirm it has the AcrPull role assigned.
◦ If using a managed identity, check its assigned roles.
• Verify credentials by running:If it logs in successfully, credentials are likely not the issue.
<code>az acr login --name &lt;ACR_NAME&gt;</code></p>
</li>
<li><p>Validate Image Existence
• Confirm that the image and tag you are trying to pull exist in the Azure ACR:Example:
<code>az acr repository show-tags --name myacr --repository myimage</code>
<code>az acr repository show-tags --name &lt;ACR_NAME&gt; --repository &lt;IMAGE_NAME&gt;</code></p>
</li>
<li><p>Check Docker Daemon Logs
• Inspect Docker logs for additional details on the error:Look for any errors or network-related issues during the pull operation.
<code>sudo journalctl -u docker</code></p>
</li>
<li><p>Clear Docker Cache
• Sometimes, Docker's cache can interfere with operations. Clear the cache:
<code>docker system prune -a</code></p>
</li>
<li><p>Pull the Image Manually with Debugging
Enable detailed output during the pull operation: 
<code>docker --debug pull &lt;ACR_NAME&gt;.azurecr.io/&lt;IMAGE_NAME&gt;:&lt;TAG&gt;</code>
This structured approach should help identify and resolve the problem effectively.</p>
</li>
</ol>

CC BY-SA 4.0
2024-11-28T09:52:16.260Z
2024-11-28T09:52:16.260Z
Qodirov Shohijahon
<p>I am trying to pull image from Azure ACR from one of vm where docker is installed. This was working before without any issue. But now i am getting error while pulling the image from Azure ACR.</p>
<p>Error message : error pulling image configuration: download failed after attempts=6: Service unavailable.</p>
<p>Note: Pull image was working before this issue occur.</p>
<p>Anybody any help on this strange issue !!</p>
<p>I have tried restarting docker client and vm still didn't work. I have checked network connectivity between the docker client vm and Azure ACR, it is fine.</p>
<p>Note : I have tried pushing the image to the same Azure ACR, it is working but getting error while pull the image.</p>

<docker><linux><docker-registry>
Getting error pulling image configuration: download failed after attempts=6: Service Unavailable
Nitesh
# Getting error pulling image configuration: download failed after attempts=6: Service Unavailable

(Asked by: username_0 on 2024-11-28)

I am trying to pull image from Azure ACR from one of vm where docker is installed. This was working before without any issue. But now i am getting error while pulling the image from Azure ACR.

Error message : error pulling image configuration: download failed after attempts=6: Service unavailable.

Note: Pull image was working before this issue occur.

Anybody any help on this strange issue !!

I have tried restarting docker client and vm still didn't work. I have checked network connectivity between the docker client vm and Azure ACR, it is fine.

Note : I have tried pushing the image to the same Azure ACR, it is working but getting error while pull the image.

**Tags:** docker, linux, docker-registry


---

## 1 answers

### Answer by username_1 on 2024-11-28. Score: 0

1. Verify ACR Service Availability
   • Ensure that the Azure ACR service is operational in the Azure region where your registry is hosted. Check the Azure status page:
   Azure Status (<https://status.azure.com/>)
   • If there are ongoing outages in your region, this could be the cause.
2. Check ACR Permissions
   • Ensure the credentials used for pulling the image have the correct permissions.
   ◦ If using a service principal, confirm it has the AcrPull role assigned.
   ◦ If using a managed identity, check its assigned roles.
   • Verify credentials by running:If it logs in successfully, credentials are likely not the issue.
   `az acr login --name`
3. Validate Image Existence
   • Confirm that the image and tag you are trying to pull exist in the Azure ACR:Example:
   `az acr repository show-tags --name myacr --repository myimage`
   `az acr repository show-tags --name  --repository`
4. Check Docker Daemon Logs
   • Inspect Docker logs for additional details on the error:Look for any errors or network-related issues during the pull operation.
   `sudo journalctl -u docker`
5. Clear Docker Cache
   • Sometimes, Docker's cache can interfere with operations. Clear the cache:
   `docker system prune -a`
6. Pull the Image Manually with Debugging
   Enable detailed output during the pull operation: 
   `docker --debug pull .azurecr.io/:`
   This structured approach should help identify and resolve the problem effectively.


---

