简体   繁体   中英

Azure Container Registry pull request fails with dial tcp lookup no such host

Issue : Created a Azure Container Registry . Using Jenkins to Automate CI/CD . The image push to the repository is successful. However when we try to pull the image on the same jenkins box it fails with error :

  • docker pull simplimedpoc.azurecr.io/bot-demo:latest Error response from daemon: Get https://simplimedpoc.azurecr.io/v2/ : dial tcp: lookup simplimedpoc.azurecr.io on 168.63.129.16:53: no such host

I was having a similar problem. In my case, it was because my registry was in one virtual network and the VM I was using to pull the image was in a different virtual network. I added "peering" via the portal and was able to pull images after that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM