-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using ACR across subscriptions with Web App for Containers fails #345
Comments
This is more an issue with Azure Web Apps, not ACR. In order to fix this you have to configure the following config values:
|
When you add these values pointing to an ACR and hit save those values are being cleared from the private registry tab and it is not working. |
Works fine for all our customers but I'd suggest opening an issue with App Service folks instead, they own that feature. |
I opened a ticket here as well, hope that's the correct place for web app feedback since there seems no place on GitHub for this: |
Sorry, misclicked there just now 00Kai0 |
never mind |
Exact same problem. Cannot figure this out at all. |
In case this helps anybody, I ran into the same issue but was able to overcome it by a combination of the login credential configuration values mentioned above + an Azure Pipelines release task that sets the registry/image and restarts the app service. |
To get the image to deploy enter the full URL of the image but without the https:// in front, not just a relative path from the server URL. So I had to enter it twice. The below settings worked for a deployment of the container. At first I was using a relative path from the server URL but then it tries to get the image from docker hub instead. After the deployment it cleared all the fields as well so that is annoying but at least the deployment worked. Hope this might help someone get their deployment working. |
Thanks @krispenner, that solved it for me. I lost so much time on this wondering why my container isn't getting pulled. Please Azure Team fix this (why do I have to enter the full URL again if it's already given above and the label only tells me to enter the image name) or document it somewhere. |
+1 |
We have communicated the feedback to the AppService team which owns the portal UI and service backend. |
We ran into the same problem that @krispenner had. We tried using the preview version of the Azure Portal and that fixed the issue for us. |
This issue appears to still be open. When I do this deployment entirely from the command-line, it fails to authenticate when I use an ACR in another subscription. |
@ccompy can you help with app services configuration? |
@SteveLas you can assign this to me here is the current state: I have a doc update coming up shortly that cover this cross subscription scenario |
Excellent, thanks @btardif |
@btardif, is there an App Service repo of issues we can transfer this to? |
We don't track App Service issues on GitHub, next best thing would be our uservoice but since folks are coming here that's why I wanted to use it for updates. |
@btardif Is this released? |
@ggirard07 yes it's supported. doc have also been expanded a bit: |
Describe the bug
I'm unable to get image from ACR in app service that lives in a different subscription.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The settings should stay in the private registry tab and a container should be pulled from ACR.
Any relevant environment information
Additional context
Issue is also being discussed here: microsoft/vscode-docker#743
The text was updated successfully, but these errors were encountered: