我已在 LogicApp 中设置了“身份”,在容器注册表中添加了必要的 AcrPull 访问权限,但无法让逻辑应用访问 Azure 中的私有(private)容器注册表(出现错误;
"error": {
"code": "InaccessibleImage",
"message": "The image 'xxx.azurecr.io/xx:xx' in container group 'ContainerGroupName' is not accessible. Please check the image and registry credential."
}
我也尝试过设置 imageRegistryCredentials,但不完全确定要指定哪个用户。有什么想法吗?谢谢!
最佳答案
在逻辑应用中配置注册表凭据时,imageRegistryServer
应与镜像名称中的服务器匹配。
这里有一个例子,您可以引用:Azure Logic Apps and Azure Container Instances .
关于Azure LogicApp 连接到 Azure 容器注册表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54496625/