See the doc here https://learn.microsoft.com/en-us/azure/azure-functions/functions-create-function-linux-custom-image?pivots=programming-language-csharp&tabs=in-process%2Cbash%2Cazure-cli%2Cv1#create-and-configure-a-function-app-on-azure-with-the-image and the note "If you publish your custom image to a private container registry, you must also set the DOCKER_REGISTRY_SERVER_USERNAME
and DOCKER_REGISTRY_SERVER_PASSWORD
variables. For more information, see custom containers in the App Service settings reference."
Azure Functions - can't pull image from private registry
Zak Bowyer
0
Reputation points
I'd like to run a container image hosted on a private registry on an Azure Function. When building the Azure Function through the portal, I am able to select Container Image, but under the Docker tab I'm only able to select Quickstart as the image source. I would expect to be able to select a private registry source, which I can then supply with configuration, as in Azure Container Instances.
Am I missing any required permissions etc?
1 answer
Sort by: Most helpful
-
Ben Gimblett 4,330 Reputation points Microsoft Employee
2023-05-11T16:17:16.01+00:00