How can I deploy a Docker-based function on an Azure Functions Consumption plan?

Jagannath Mestry 0 Reputation points
2026-01-08T13:16:09.1+00:00

We are using LibreOffice via Docker to perform document processing tasks. Is it possible to deploy this Docker-based solution to an Azure Functions Consumption plan? If so, which operating system (Linux or Windows) is supported?

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

2 answers

Sort by: Most helpful
  1. Q&A Assist
    2026-01-08T13:16:17.0033333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    You cannot deploy a Docker-based function on an Azure Functions Consumption plan. The Consumption plan does not support Docker containers; it only allows code-only deployments on Linux. If you want to use Docker, you would need to consider using the Elastic Premium plan, Dedicated (App Service) plan, or Azure Container Apps, which support Docker containers on Linux.

    For the Consumption plan, the supported operating system for deployments is Linux, but it is limited to code-only deployments, not containers.


    References:

    0 comments No comments

  2. Siddhesh Desai 1,925 Reputation points Microsoft External Staff Moderator
    2026-01-08T13:34:40.49+00:00

    Hi @Jagannath Mestry,

    Thank you for reaching out to Microsoft Q&A.

    According to this official MS document: https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#operating-systemruntime

    User's image

    Consumption based plan does not support Container thus Docker based hosting is not supported.

    You need Premium or Dedicated plan Function app, Also, you can host the containerized Function directly in Azure Container Apps, Refer the steps in this Document: https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-custom-container?tabs=core-tools%2Cacr%2Cazure-cli2%2Cazure-cli&pivots=azure-functions to containerized Azure Functions with dockerfile.

    0 comments No comments

Your answer

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