[英]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.我有一个 azure 应用服务来托管来自 Azure 容器注册表的 docker 映像。
The full process is as follow:整个过程如下:
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.但是发生的情况是,在每个意识到之后,由于某种原因,应用服务尝试从
Docker Hub
中提取图像,而不是从 azure 容器注册表中提取图像。
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
.对于您的问题,我可以猜到您提出的问题,您必须将带有标签的图像设置为,例如
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
.但是如果你在 ACR 中推送镜像,并且需要从 ACR 中拉取镜像,则必须将标签设置为
myacr.azurecr.io/nginx:latest
的镜像。 In addition, you also need to configure the credential for your ACR.此外,您还需要为您的 ACR 配置凭证。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.