Search code examples
azuredockerazure-functionsazure-container-registry

Azure Functions Docker Deployment Linux workers are not available in resource group


Trying to deploy a nginix container from Azure Container Registry through function app,

Getting an error as,

Linux workers are not available in resource group

How to enable linux workers to a resource group?

Dockerfile for deployment,

FROM nginx
COPY dist /usr/share/nginx/html

Solution

  • Seems like you can't have linux and windows resources in the same resource group

    There is a current limitation in regards to not mixing Windows and Linux apps in the same resource group as well.

    https://learn.microsoft.com/en-us/azure/app-service/containers/app-service-linux-intro#limitations

    So you're only option at the moment is to create a new resource group for linux resources