Provision an Azure Container Registry
Learn On Demand
Learn On Demand Pro Series

Time
45 minutes
Difficulty
Beginner

In this IT Pro Challenge virtual lab, you will get hands-on experience using Microsoft Azure’s Container Registry. This lab will provide you with the skills required to migrate an on-prem service and web app to Microsoft Azure. You will learn how to provision an Azure Container Registry, migrate a Docker image to it, and verify its deployment.

Start your free 3-day trial and become one of the 3 million Cybersecurity and IT professionals advancing their career goals

Sign up with
Or

Already have an account? Sign In »

Overview

Lab Overview:

This hands-on lab provides an Azure administrator with an understanding of how to migrate an on-premise system to a serverless container-based environment in Microsoft Azure. These skills are essential for a System Administrator or Developer operating in a Microsoft Azure environment.

Understand the scenario

You are a system administrator for a company that is migrating its document processing system from its datacenter to Azure. You need to provision a container registry to manage custom Docker images used for processing documents. You will first provision an Azure Container Registry. You will then migrate an image from Docker Hub to the registry. Finally, you will verify that the image is in the registry.

Provision an Azure container registry:

The Microsoft Azure Container Registry is a managed, private Docker registry service. You will first provision an Azure Container Registry, which allows you to build, store, and manage container images in a private registry for all types of container deployments. In this section, you will provision a container registry and record important connection information (i.e., login server, user name, and password).

Migrate a Docker image to the registry:

For this task, you will learn how to use the Azure Cloud Shell command-line interface to pull, tag, and push your docker images. You will use the Bash command-line interface within Cloud Shell, learn how to connect to a Docker host via SSH, pull down an image from the Docker hub, apply a tag (i.e., an alias), and then push the image to your registry.

Verify that the Docker image is in the registry:

In this section, you will gain additional insight on how to manage Docker images within Cloud Shell. You will perform a task to clean up the Docker host VM (docker image rm) since the image has been pushed to your registry. You will then learn the syntax to run the image and map the ports from the Docker host to the container (docker run -d -p). Finally, you will learn how to confirm that the image is running using the Docker list command (docker ps), which will list your containers and show the status of your image.

Lab Summary Conclusion:

In this hands-on virtual lab, you will learn how to perform the Microsoft Azure administrative tasks required to migrate an on-prem service to Azure’s Container Registry. You will get hands-on experience using Azure’s Cloud Shell command-line interface to perform tasks, such as provisioning a container registry, migrating a Docker image to it, and verifying its deployment. These skills are essential for Azure Administrators and Developers.

Other Challenges in this series

  • GUIDED CHALLENGE: Provision an Azure Container Instance
  • ADVANCED CHALLENGE: Can you Provision a Managed Environment for Container Execution?

Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.

LEARN MORE. ACHIEVE MORE.

Connect the pieces

Completing a Learn On Demand Pro Series is one thing, mastering the skill is another.

Master the skill and take this learn on demand pro series in an expertly designed Course.

LEARN MORE. ACHIEVE MORE.

Connect the pieces

Completing a Learn On Demand Pro Series is one thing, mastering the skill is another.

Master the skill and take this learn on demand pro series in an expertly designed Course.