Monday, September 14, 2020

Running Azure Functions in a Docker Container: A Beginner’s Guide

 


A Brief Introduction to the Technologies

Image for post

Image for post

Fine but.. why using them together?

Image for post

Installation

npm install -g azure-functions-core-tools

Creating our first app

First of all, you will need to create a folder (or use an existing one). This folder is where we will create our Function App.

func init --docker
Image for post
Image 1.1
Image for post
Image 1.2
func new
Image for post
Image 1.3
Image for post
Image 1.4
Image for post
Image 1.5
docker build -t <imageName> .
Image for post
Image 2.1
docker images
Image for post
Image 2.2
docker run  -p <port> <imageName>
Image for post
Image 2.3
Image for post
Image 3.1
http://localhost:8080/api/httptriggerexample?name=Derek
Image for post
Image 3.2


No comments:

Post a Comment

Cache Design and patterns

 In this article  we will look at application design and how cache design will be helping to get data from back end quickly.  scope of this ...