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?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
2,996 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ben Gimblett 400 Reputation points Microsoft Employee

    See the doc here 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."