question

ValryRaulet-2236 avatar image
0 Votes"
ValryRaulet-2236 asked bhargaviannadevara-msft edited

App Service Deployment Center is not picking up my changes

I am changing the Registry settings of an App Service but when saving, it reverts back to previous settings.

The issue is especially around the Subscription ID as I am picking up an Azure Registry located in another subscription.

azure-webapps-content-deployment
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Below are the setting I am entering before saving. Note that the ACR is in another subscription which I have access to.

130680-before.png

After I press save, the settings are not saved and the current subscription is automatically selected.

130801-after.png


0 Votes 0 ·
after.png (76.2 KiB)
before.png (75.8 KiB)

IIn the log, I am also getting the following error:

2021-09-09T14:28:17.297Z ERROR - failed to register layer: Error processing tar file(exit status 1): Container ID 1407182137 cannot be mapped to a host IDErr: 0, Message: failed to register layer: Error processing tar file(exit status 1): Container ID 1407182137 cannot be mapped to a host ID

0 Votes 0 ·

1 Answer

SnehaAgrawal-MSFT avatar image
0 Votes"
SnehaAgrawal-MSFT answered

Apologies for late response! If you want to deploy from a registry in a different subscription, select Private Registry in Registry source instead and then follow the next step depending on the Container Type:

133058-containerwebapp-microsoft-azure.png

For Private Registry:

In Server URL, type the URL of the server, beginning with https://.
In Login, and Password type your login credentials for your private registry.

For Single Container, supply the image and tag name in Full Image Name and Tag, separated by a : (for example, nginx:latest).

If you want, type the start up command in Startup File. App Service appends the string in Startup File to the end of the docker run command (as the [COMMAND] [ARG...] segment) when starting your container.

Reference: https://docs.microsoft.com/en-us/azure/app-service/deploy-ci-cd-custom-container?tabs=acr&pivots=container-linux#3-configure-registry-settings


Let us know if you have further query or issue remains.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.