Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Azure icon
Labs

Create Web App from Docker Container in Azure

You have a custom application that your company wants you to deploy. This application is optimized for containers, and you have been given a Dockerfile. The company mandates that all container images be stored in Azure Container Registry. Find the best solution to host your containerized application in Azure App Service.

Azure icon
Lab platform
Lab Info
Level
Intermediate
Last updated
Sep 23, 2025
Duration
45m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Start Cloud Shell
    1. Click the Cloud Shell icon (>_) in the upper right.
    2. Select Bash.
    3. Click Show advanced settings.
    4. Change Cloud Shell Region to the same location as your lab provided resource group.
    5. For Storage account, select Use existing.
    6. For File share, select Create new and give it a name of "fileshare".
    7. Click Create storage.
  2. Challenge

    Set Resource Variables in Cloud Shell
    1. Set the ACR (Azure Container Registry) variable. You can use any unique meaningful name for the "<ACR_NAME>":
    2. In the Azure portal, click the listed resource group name.
    3. Copy it to your clipboard.
    4. In Cloud Shell, set the RG variable, replacing <RESOURCE_GROUP_NAME> with the name you just copied.
  3. Challenge

    Create a New Container Registry

    Create a new Azure Container Registry.

  4. Challenge

    Build an Image and Push to ACR
    1. Change the directory to clouddrive.

    2. Clone the js-docker branch of the github repository.

    3. Change the directory to js-docker.

    4. Build and push the image to Azure Container Registry using ACR Tasks and the Dockerfile provided.

      Note: GitHub imposes rate limits for unauthenticated API requests (including cloning via HTTPS). If their limits are hit, GitHub may prompt for authentication when you try to clone the repository. Trying again in a bit will resolve that type of GitHub issue.

  5. Challenge

    Create and Deploy a New Web App
    1. In the Azure portal, open the upper left menu and click App Services.

    2. In the upper left, click +Create.

    3. On the Create Web App page, set the following values:

      • Resource Group: Existing resource group
      • Name: Unique name
      • Publish: Docker Container
    4. Click Explore pricing plans and select the Standard S1 size.

    5. Click Apply.

    6. Click Next: Docker.

    7. In Image Source, select Azure Container Registry and click Review + create.

About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight