简体   繁体   English

如何使用私有 Azure Container Registry 创建一个 Azure APP Service?

[英]How to create a Azure APP Service with a private Azure Container Registry?

I have a Azure Container Registry with Public.network access set to "Selected.networks".我有一个 Azure 容器注册表,其 Public.network 访问权限设置为“Selected.networks”。 I also have created a private endpoint on the Private Access tab.我还在“私有访问”选项卡上创建了一个私有端点。 When I go to create a new web app, I'm unable to see the image.当我 go 创建一个新的 web 应用程序时,我看不到图像。 How do I utilize the private container registry/image from within the app service?如何在应用程序服务中使用私有容器注册表/镜像?

I tried changing the Public.network access option to "All" and was then able to select the image in question.我尝试将 Public.network 访问选项更改为“全部”,然后能够 select 有问题的图像。

By default, azure web apps during provisioning state, not able to reach into a virtual.network.默认情况下,azure web 应用程序在供应期间 state,无法进入 virtual.network。 As the ACR is secured with private endpoint and having public access was disable or selected.networks, cannot be able to access the images during new webapp creation.由于 ACR 使用专用端点进行保护并且具有公共访问权限已被禁用或选中。网络无法在创建新 Web 应用程序期间访问图像。 However, we can be able to connect private registry after webapp creation if we have enabled VNet integration as shown below.但是,如果我们启用了 VNet 集成,则我们可以在创建 Web 应用程序后连接私有注册表,如下所示。

Portal:门户网站: 在此处输入图像描述在此处输入图像描述 Su.net01 have enabled to su.net delegation Microsoft.Web/serverFarms Su.net01 已启用 su.net 委托Microsoft.Web/serverFarms在此处输入图像描述 Once webapp provisioned, to integrate with private registry goto webapp > Deployment> deployment center.一旦配置了 webapp,要与私有注册表集成,请转到 webapp > Deployment> deployment center。在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 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 Azure DevOps 不更新 Container Registry on Azure - Azure DevOps does not updates Container Registry on Azure 从 azure 中的 Dockerfile 向私人 npm 注册表进行身份验证? - Authenticate to private npm registry from Dockerfile in azure? 从 Azure Container Registry 拉取镜像到 Azure Container Instances 时如何使用 SystemAssigned identity? - How can I use a SystemAssigned identity when pulling an image from Azure Container Registry into Azure Container Instances? 0 function 在 Azure 应用程序服务自定义 docker 容器中加载错误 - 0 function loaded error in Azure app service custom docker container azure 应用程序服务,一段时间后没有暴露端口的容器关闭 - azure app service, container without exposed port shutdown after a while 无法从 Azure 注册表中的 docker 图像运行 Azure Web 服务 - Unable to run Azure Web Service from a docker image in an Azure Registry 如何从 Azure 管道中的 Azure 应用服务获取价值 - How to get value from Azure App Service from Azure pipeline 如何创建 Azure signalR service as premium - How to create Azure signalR service as premium 如何避免在部署 yaml 中输入映像版本并使用 azure 容器注册表中的最新映像 - How to avoid having to enter image version in deployment yaml and use most recent image from azure container registry
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM