简体   繁体   English

Azure 应用服务不断从 docker 集线器拉取 docker 映像

[英]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:整个过程如下:

  • Run Pipeline运行管道
  • Run Release pipeline运行发布管道
  • Azure app pulls the latest release from azure container registry Azure 应用程序从 azure 容器注册表中提取最新版本

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.

相关问题 将图像从Docker Hub部署到AZure - Deploy image from docker hub to AZure 如何将Docker Image从Docker Hub部署到Azure ACS? - How to deploy Docker Image from Docker Hub to Azure ACS? Azure Web 应用程序来自 Docker 集线器图像(Strapi) - 无法运行应用程序 - Azure Web App from Docker hub Image (Strapi) - Unable to run the app Azure App Service Container Images 强制从 Docker Hub 拉取而不是 ACR - Azure App Service Container Images force pulled from Docker Hub instead of ACR Docker 无法从 Azure App Service 中拉取镜像 - Docker fails to pull the image from within Azure App Service Azure 应用服务无法启动 w/ Azure 容器注册表拉取 - Docker 容器 - 找不到文件 - 与 Docker 集线器一起使用 - Azure App Service Fails to Start w/ Azure Container Registry Pull - Docker Container - Can not Find File - Works with Docker Hub 如何从带有 wordpress docker 映像的 azure app 服务连接到 mysql 的 azure 数据库? - how to connect to azure database for mysql, from azure app service with wordpress docker image? 带或不带docker的Azure App服务 - Azure App service with or without docker 无法从 Azure 注册表中的 docker 图像运行 Azure Web 服务 - Unable to run Azure Web Service from a docker image in an Azure Registry Azure App Service + Docker自动部署? - Azure App Service + Docker Autodeploy?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM