-
Book Overview & Buying
-
Table Of Contents
Azure for Developers - Third Edition
By :
When working with containers in Azure App Service, the most important thing is integrating it with a container registry. It’s possible to use both Azure Container Registry and an external registry if needed (or even a public one, for instance, Docker Hub). The choice depends on the use case or scenario, but for most of the typical business scenarios, you will select a private registry over a public one (due to security, compliance, or regulations).
In this section, we will configure Azure App Service with Azure Container Registry. In order to do that, we need both the container image and the infrastructure. Let’s start with a containerized application and a container registry.
To keep things simple, let’s prepare an HTML-based application, which we will host using nginx. Here’s the code for it, which will be displayed to a user when they access it:
<html> ...