Unable to run the docker container in Azure Function App created via Terraform

ankush_khandagale 0 Reputation points
2025-03-26T07:52:39.5333333+00:00

I have created an Azure Function App via Terraform (code attached).

I have created a Dockerfile with my requirements and have pushed to ACR. My ACR has ACRPull permission.

After executed terrraform apply and azure function got created, the docker container is not running inside the function app.

After my function app got created in the Overview section I can Error in Runtime Version

I want my docker container to get executed inside the app after the function app is created successfully.

Attaching all logs and snapshots regarding the same.
Can I have some help on this issue please so that I can successfully run my docker container inside function app?

azure_fun_app_terraform_script.txt

auzre_func_app_dockerfile.txt

User's image

User's image

Deployment Center:User's image

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,932 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.