Skip to content

Commit 8cd2036

Browse files
Merge pull request #51039 from ShawnKupfer/WB1842
AB#1058411: Build a containerized web application with Docker
2 parents ff91da4 + a3e0534 commit 8cd2036

17 files changed

+182
-182
lines changed
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.intro-to-containers.1-introduction
3-
title: Introduction
4-
metadata:
5-
title: Introduction
6-
description: Introduction
7-
ms.date: 06/28/2024
8-
author: cryophobia
9-
ms.author: chrvaw
10-
ms.topic: unit
11-
durationInMinutes: 3
12-
content: |
13-
[!include[](includes/1-introduction.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.intro-to-containers.1-introduction
3+
title: Introduction
4+
metadata:
5+
title: Introduction
6+
description: Introduction
7+
ms.date: 06/20/2025
8+
author: cryophobia
9+
ms.author: chrvaw
10+
ms.topic: unit
11+
durationInMinutes: 3
12+
content: |
13+
[!include[](includes/1-introduction.md)]
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.intro-to-containers.2-deploy-docker-image-locally
3-
title: Retrieve an existing Docker image and deploy it locally
4-
metadata:
5-
title: Retrieve an existing Docker image and deploy it locally
6-
description: Summarize the purpose of Docker and Docker Hub. Explain how to download an image containing an application from Docker Hub, and run the application locally.
7-
ms.date: 06/28/2024
8-
author: cryophobia
9-
ms.author: chrvaw
10-
ms.topic: unit
11-
ms.custom: linux-related-content
12-
durationInMinutes: 10
13-
content: |
14-
[!include[](includes/2-deploy-docker-image-locally.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.intro-to-containers.2-deploy-docker-image-locally
3+
title: Retrieve an existing Docker image and deploy it locally
4+
metadata:
5+
title: Retrieve an existing Docker image and deploy it locally
6+
description: Summarize the purpose of Docker and Docker Hub. Explain how to download an image containing an application from Docker Hub, and run the application locally.
7+
ms.date: 06/20/2025
8+
author: cryophobia
9+
ms.author: chrvaw
10+
ms.topic: unit
11+
ms.custom: linux-related-content
12+
durationInMinutes: 10
13+
content: |
14+
[!include[](includes/2-deploy-docker-image-locally.md)]
15+
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.intro-to-containers.3-exercise-deploy-docker-image-locally
3-
title: Exercise - Retrieve an existing Docker image and deploy it locally
4-
metadata:
5-
title: Exercise - Retrieve an existing Docker image and deploy it locally
6-
description: Pull an image from Docker Hub and load it into a local registry. Deploy and run the application from the registry. Examine and manage the registry.
7-
ms.date: 06/28/2024
8-
author: cryophobia
9-
ms.author: chrvaw
10-
ms.topic: unit
11-
durationInMinutes: 6
12-
content: |
13-
[!include[](includes/3-exercise-deploy-docker-image-locally.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.intro-to-containers.3-exercise-deploy-docker-image-locally
3+
title: Exercise - Retrieve an existing Docker image and deploy it locally
4+
metadata:
5+
title: Exercise - Retrieve an existing Docker image and deploy it locally
6+
description: Pull an image from Docker Hub and load it into a local registry. Deploy and run the application from the registry. Examine and manage the registry.
7+
ms.date: 06/20/2025
8+
author: cryophobia
9+
ms.author: chrvaw
10+
ms.topic: unit
11+
durationInMinutes: 6
12+
content: |
13+
[!include[](includes/3-exercise-deploy-docker-image-locally.md)]
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.intro-to-containers.4-create-custom-docker-image
3-
title: Customize a Docker image to run your own web app
4-
metadata:
5-
title: Customize a Docker image to run your own web app
6-
description: Explain how to create a custom Docker image. Show how to specify the steps for creating an image by using a Dockerfile
7-
ms.date: 06/28/2024
8-
author: cryophobia
9-
ms.author: chrvaw
10-
ms.topic: unit
11-
durationInMinutes: 5
12-
content: |
13-
[!include[](includes/4-create-custom-docker-image.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.intro-to-containers.4-create-custom-docker-image
3+
title: Customize a Docker image to run your own web app
4+
metadata:
5+
title: Customize a Docker image to run your own web app
6+
description: Explain how to create a custom Docker image. Show how to specify the steps for creating an image by using a Dockerfile
7+
ms.date: 06/20/2025
8+
author: cryophobia
9+
ms.author: chrvaw
10+
ms.topic: unit
11+
durationInMinutes: 5
12+
content: |
13+
[!include[](includes/4-create-custom-docker-image.md)]
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.intro-to-containers.5-exercise-create-custom-docker-image
3-
title: Exercise - Customize a Docker image to run your own web app
4-
metadata:
5-
title: Exercise - Customize a Docker image to run your own web app
6-
description: Create a Dockerfile that contains the instructions for building an image that runs your own application. Build the image and deploy it to the local Docker registry. Run the application by creating a container using this image. View the contents of the registry. Remove the image from the registry.
7-
ms.date: 06/28/2024
8-
author: cryophobia
9-
ms.author: chrvaw
10-
ms.topic: unit
11-
durationInMinutes: 12
12-
content: |
13-
[!include[](includes/5-exercise-create-custom-docker-image.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.intro-to-containers.5-exercise-create-custom-docker-image
3+
title: Exercise - Customize a Docker image to run your own web app
4+
metadata:
5+
title: Exercise - Customize a Docker image to run your own web app
6+
description: Create a Dockerfile that contains the instructions for building an image that runs your own application. Build the image and deploy it to the local Docker registry. Run the application by creating a container using this image. View the contents of the registry. Remove the image from the registry.
7+
ms.date: 06/20/2025
8+
author: cryophobia
9+
ms.author: chrvaw
10+
ms.topic: unit
11+
durationInMinutes: 12
12+
content: |
13+
[!include[](includes/5-exercise-create-custom-docker-image.md)]
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.intro-to-containers.6-deploy-docker-image-to-container-instance
3-
title: Deploy a Docker image to an Azure Container Instance
4-
metadata:
5-
title: Deploy a Docker image to an Azure Container Instance
6-
description: Describe the purpose of an Azure Container Instance and the Azure Container Registry. Describe how to add an image to an Azure Container Registry. Explain how to create an Azure Container Instance from an image in the Azure Container Registry. Show how to run the application using the Azure Container Instance.
7-
ms.date: 06/28/2024
8-
author: cryophobia
9-
ms.author: chrvaw
10-
ms.topic: unit
11-
ms.custom:
12-
- devx-track-azurecli
13-
durationInMinutes: 5
14-
content: |
15-
[!include[](includes/6-deploy-docker-image-to-container-instance.md)]
16-
1+
### YamlMime:ModuleUnit
2+
uid: learn.intro-to-containers.6-deploy-docker-image-to-container-instance
3+
title: Deploy a Docker image to an Azure Container Instance
4+
metadata:
5+
title: Deploy a Docker image to an Azure Container Instance
6+
description: Describe the purpose of an Azure Container Instance and the Azure Container Registry. Describe how to add an image to an Azure Container Registry. Explain how to create an Azure Container Instance from an image in the Azure Container Registry. Show how to run the application using the Azure Container Instance.
7+
ms.date: 06/20/2025
8+
author: cryophobia
9+
ms.author: chrvaw
10+
ms.topic: unit
11+
ms.custom:
12+
- devx-track-azurecli
13+
durationInMinutes: 5
14+
content: |
15+
[!include[](includes/6-deploy-docker-image-to-container-instance.md)]
16+
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.intro-to-containers.7-exercise-deploy-docker-image-to-container-instance
3-
title: Exercise - Deploy a Docker image to an Azure Container Instance
4-
metadata:
5-
title: Exercise - Deploy a Docker image to an Azure Container Instance
6-
description: Create an Azure Container Registry. Upload an image from the local Docker registry to the Azure Container Registry. Create an Azure Container Instance from the image in the Azure Container Registry. Run the application using the instance.
7-
ms.date: 06/28/2024
8-
author: cryophobia
9-
ms.author: chrvaw
10-
ms.topic: unit
11-
durationInMinutes: 14
12-
content: |
13-
[!include[](includes/7-exercise-deploy-docker-image-to-container-instance.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.intro-to-containers.7-exercise-deploy-docker-image-to-container-instance
3+
title: Exercise - Deploy a Docker image to an Azure Container Instance
4+
metadata:
5+
title: Exercise - Deploy a Docker image to an Azure Container Instance
6+
description: Create an Azure Container Registry. Upload an image from the local Docker registry to the Azure Container Registry. Create an Azure Container Instance from the image in the Azure Container Registry. Run the application using the instance.
7+
ms.date: 06/20/2025
8+
author: cryophobia
9+
ms.author: chrvaw
10+
ms.topic: unit
11+
durationInMinutes: 14
12+
content: |
13+
[!include[](includes/7-exercise-deploy-docker-image-to-container-instance.md)]
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.intro-to-containers.8-summary
3-
title: Summary
4-
metadata:
5-
title: Summary
6-
description: Summary
7-
ms.date: 06/28/2024
8-
author: cryophobia
9-
ms.author: chrvaw
10-
ms.topic: unit
11-
durationInMinutes: 2
12-
content: |
13-
[!include[](includes/8-summary.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.intro-to-containers.8-summary
3+
title: Summary
4+
metadata:
5+
title: Summary
6+
description: Summary
7+
ms.date: 06/20/2025
8+
author: cryophobia
9+
ms.author: chrvaw
10+
ms.topic: unit
11+
durationInMinutes: 2
12+
content: |
13+
[!include[](includes/8-summary.md)]

learn-pr/azure/intro-to-containers/includes/1-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Rapid deployment is key to business agility. Modern organizations must be able to release apps quickly to attract and retain business. Containerization saves time and reduces costs. You don't have to configure hardware and spend time installing operating systems and software to host a deployment. Multiple apps can run in their isolated containers on the same hardware. You can scale out quickly by starting more instances of containers. The images that run in containers are extensible; you can start with a working base image and layer more functionality on top to create a new image.
22

3-
Suppose you work for an online clothing retailer that's planning to deploy a handful of internal apps, but it hasn't yet decided how to host them. You're looking for maximum compatibility, and the apps could be hosted on-premises, in Azure, or in another cloud provider. Some of the apps might share IaaS infrastructure. In these cases, the company requires the apps to be isolated from each other. Apps can share the hardware resources, but an app shouldn't be able to interfere with the files, memory space, or other resources the other apps use. The company values the efficiency of its resources and wants something with a compelling app-development story. Docker seems an ideal solution to these requirements. With Docker, you can quickly build and deploy an app and run it in its tailored environment, either locally or in the cloud.
3+
Suppose you work for an online clothing retailer that's planning to deploy a handful of internal apps, but it hasn't yet decided how to host them. You're looking for maximum compatibility, and the apps could be hosted on-premises, in Azure, or in another cloud provider. Some of the apps might share infrastructure as a service (IaaS) infrastructure. In these cases, the company requires the apps to be isolated from each other. Apps can share the hardware resources, but an app shouldn't be able to interfere with the files, memory space, or other resources the other apps use. The company values the efficiency of its resources and wants something with a compelling app-development story. Docker seems an ideal solution to these requirements. With Docker, you can quickly build and deploy an app and run it in its tailored environment, either locally or in the cloud.
44

55
In this module, you'll take an existing application and package it as a Docker image. You'll automate the image-build process by defining the build steps in a Dockerfile. You'll test the app locally by using Docker for Windows. Finally, you'll upload the image to Azure Container Registry and run the application using the Azure Container Instance service.
66

0 commit comments

Comments
 (0)