This article gives you an overview of,
- How to create Docker Image of Azure Logic app
- How to push image into azure Container Registry (ACR) and
- How to deploy ACR image into AKS
Pre-requisites
- Docker for Desktop
- Docker extension for VS code
- Logic App (Standard) Extension
- C# Extension
- Azure Account
- Stoarge account
Create a stateless workflow locally in Visual Studio Code
I am using VS Code for developing Azure Logic App Standard.


It will create a skeleton of workflow

UseDevelopmentStorage=true property lets us run logic apps locally using Azure Storage Emulator.
Right click on the workflow.json file and select open in Designer to view the workflow designer


Select Run->Start Debugging or F5 to start the logic apps locally, finally the execution displays the following to show the logic apps is up and running.
Add a docker file to your project as below named “DockerFile”.
FROM mcr.microsoft.com/azure-functions/node:3.0
ENV AzureWebJobsStorage DefaultEndpointsProtocol=<BlobStorageConnectionString>
ENV AzureWebJobsScriptRoot=/home/site/wwwroot AzureFunctionsJobHost__Logging__Console__IsEnabled=true FUNCTIONS_V2_COMPATIBILITY_MODE=true
ENV WEBSITE_HOSTNAME localhost
ENV WEBSITE_SITE_NAME weatherforecast
ENV AZURE_FUNCTIONS_ENVIRONMENT Development
COPY . /home/site/wwwroot
And modify the local.settings.json to have the storage account as the
Build the docker container image by using the docker file by running the below command
Make sure to tag like .azurecr.io\imagename to push image into ACR
docker build --tag <ImageName> .
Run the container locally by using the below command
docker run -p 8080:80 <ImageName>
You can see images and instances in Docker extension

Navigate to the Azure storage account provided in the docker definition and open blob containers. You will see the following folders

Push Docker Image to Azure Container Registry
Create Azure Container registry manually on Azure Portal

Enable Access key to login into ACR
This helps to login into acr and push images











Join the conversation! Your thoughts help the community grow.