I'm trying to get a containerized AppService for L...
# azure
k
I'm trying to get a containerized AppService for Linux to pull images from Azure Container Registry. Anyone know what's the right value for the
linuxFxVersion
that needs to be set? I've attempted the following, but each time the container settings get misconfigured. 1.
DOCKER|<http://registryname.azurecr.io/image:tag|registryname.azurecr.io/image:tag>
causes the app service to pull from docker hub rather than ACR. 2.
ACR|<http://registryname.azurecr.io/image:tag|registryname.azurecr.io/image:tag>
causes the app services to treat the app like a non-containerized (zip-deploy) app. https://www.pulumi.com/docs/reference/pkg/azure/appservice/appservice/
FWIW, the exported ARM template (from the containerized app service) shows
linuxFxVersion
in the format #1 above. However trying that in the pulumi script didn't work.
n
How did you setup the App service plan?
Need to be kind Linux and reserved true
The linuxVersion is correct
k
Yes, both
kind: 'Linux'
and
reserved: true
have been set on the app service plan
And here is the snippet for the containerized app service
k
Thanks for sharing the sample! My app settings was missing the
DOCKER_REGISTRY_SERVER_URL
property. Issue resolved now, thanks 👍