简体   繁体   中英

Azure App service Keeps pulling docker image from docker hub

I have a azure app service to host a docker image from out Azure Container Registry.

The full process is as follow:

  • Run Pipeline
  • Run Release pipeline
  • Azure app pulls the latest release from azure container registry

But what happen is that after Each realise, for some reason, the app service tries to pull the image from Docker Hub instead of pulling from azure Container Registry.

Can somebody help to understand where is the issue here?

For your issue, I can guess the problem you made, you must set the image with the tag as, for example, nginx:latest . But if you push the image in the ACR and need to pull it from the ACR, you must set the image with the tag as myacr.azurecr.io/nginx:latest . In addition, you also need to configure the credential for your ACR.

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