Deploy Docker containers to Azure App Service web apps

Completed

Estimated time: 30 minutes.

Lab files: none.

Scenario

In this lab, you will learn how to use an Azure DevOps CI/CD pipeline to build a custom Docker image, push it to Azure Container Registry, and deploy it as a container to Azure App Service.

Objectives

After completing this lab, you'll be able to:

  • 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.