Deploy Docker containers to Azure App Service web apps

Completed

Estimated time: 30 minutes.

Scenario

This lab demonstrates how to use Azure DevOps CI/CD pipelines to build custom Docker images, push them to Azure Container Registry, and deploy as containers to Azure App Service.

Objectives

You will:

  • Build a custom Docker image by using a Microsoft hosted Linux agent.
  • Push an image to Azure Container Registry.
  • Deploy a Docker image as a container to Azure App Service by using Azure DevOps.

Requirements

Exercises

During this lab, you'll complete the following exercises:

  • Exercise 0: Configure the lab prerequisites.
  • Exercise 1: Manage the service connection.
  • Exercise 2: Import and run the CI pipeline.
  • Exercise 3: Import and run the CD pipeline.
  • Exercise 4: Remove the Azure lab resources

Screenshot of a launch button which will take you to the lab.