[英]Azure web app container private Endpoint deployment doesn't work with private endpoint container registry
The Setup I have:-<\/strong>我的设置:-<\/strong>
Azure web app container on a private endpoint that also has Vnet integration.私有终结点上的 Azure Web 应用容器也具有 Vnet 集成。
private endpoint azure container registry.私有端点 Azure 容器注册表。
A self hosted azure devops virtual machine for running build jobs.用于运行构建作业的自托管 azure devops 虚拟机。
The Github repos are linked to the azure devops account. Github 存储库链接到 azure devops 帐户。
For this particular project, I am building and pushing the docker image to azure container registry and then deploying that image to the azure web app container.对于这个特定项目,我正在构建 docker 映像并将其推送到 azure 容器注册表,然后将该映像部署到 azure Web 应用程序容器。 All of the components in the above system are on the same virtual network.
上述系统中的所有组件都在同一个虚拟网络上。 I used this guide for the pipeline:-
我将本指南用于管道:-
https:\/\/docs.microsoft.com\/en-us\/azure\/devops\/pipelines\/targets\/webapp-on-container-linux?view=azure-devops&tabs=yaml#deploy-with-azure-web-app-for-container<\/a>
https:\/\/docs.microsoft.com\/en-us\/azure\/devops\/pipelines\/targets\/webapp-on-container-linux?view=azure-devops&tabs=yaml#deploy-with-azure-web-app-for-容器<\/a>
The problem:-<\/strong>问题:-<\/strong>
![]()
DockerApiException: Docker API responded with status code=InternalServerError, response={"message":"Get https:\/\/xxxx.azurecr.io\/v2\/docker_file_path\/manifests\/19: denied: client with IP 'xx.xxx.132.231' is not allowed access. Refer https:\/\/aka.ms\/acr\/firewall to grant access."}<\/code><\/pre>
The IP
xx.xxx.132.231<\/code> is the public outbound IP of that azure web app so it's confirmed that it's tying to do so over the public internet.
IP
xx.xxx.132.231<\/code>是该 azure Web 应用程序的公共出站 IP,因此已确认它正在通过公共 Internet 执行此操作。
What I found:-<\/strong>我发现了什么:-<\/strong>
I searched and found that another person had the exactly same error.我搜索并发现另一个人有完全相同的错误。 The Microsoft team has been working on it since months but it still doesn't work yet.
微软团队几个月来一直在研究它,但它仍然无法正常工作。
![]()
https:\/\/docs.microsoft.com\/en-us\/answers\/questions\/280774\/app-service-for-web-app-for-containers-container-r.html<\/a>
https:\/\/docs.microsoft.com\/en-us\/answers\/questions\/280774\/app-service-for-web-app-for-containers-container-r.html<\/a>
"
Azure Container Apps Virtual Network Integration Announced 2022-02-02 Azure 容器应用虚拟网络集成宣布 2022-02-02
https:\/\/techcommunity.microsoft.com\/t5\/apps-on-azure-blog\/azure-container-apps-virtual-network-integration\/ba-p\/3096932<\/a>
https:\/\/techcommunity.microsoft.com\/t5\/apps-on-azure-blog\/azure-container-apps-virtual-network-integration\/ba-p\/3096932<\/a>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.