Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

Build and Run a Container Using Azure ACR Tasks

Your manager asks you to run a container, but you don't have Docker installed on your desktop. You've recently learned about Azure ACR Tasks built into Cloud Shell and decide to give it a try. Your goal is to create a new container registry and use ACR Tasks to build, push, and run the container in Azure.

Azure icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 45m
Published
Clock icon Oct 09, 2020

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. Select Mount storage account.
    4. Choose the lab provided Storage account subscription.
    5. Click Apply.
    6. Choose Select existing storage account.
    7. Click Next.
    8. Choose the lab provided Subscription, Resource Group, and Storage account name.
    9. Click Create a file share.
    10. Provide the name fileshare and click Ok.
    11. Click Select.
  2. Challenge

    Create a New Container Registry

    1. In the Azure portal, click the listed resource group name.
    2. Copy it to your clipboard.
    3. Create a new container registry, replacing <RESOURCE_GROUP_NAME> with the name you just copied.
    4. Change the directory to clouddrive.
    5. Create a Dockerfile.
  3. Challenge

    Build an Image and Push to ACR

    Build and push the image to Azure Container Registry using the newly created Dockerfile.

  4. Challenge

    Run the New Container

    Run the container.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans