You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/includes/quickstart-custom-container/quickstart-custom-container-linux-azure-portal-pivot.md
+64-77Lines changed: 64 additions & 77 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,63 +4,61 @@ ms.service: azure-app-service
4
4
ms.devlang: java
5
5
ms.custom: linux-related-content
6
6
ms.topic: quickstart
7
-
ms.date: 01/22/2025
7
+
ms.date: 02/14/2025
8
8
ms.author: cephalin
9
9
---
10
10
11
-
[Azure App Service](../../overview.md) on Linux provides pre-defined application stacks on Linux with support for languages such as .NET, Java, Node.js, PHP, and others. You can also use a custom Docker image to run your web app on an application stack that isn't already defined in Azure. This quickstart shows you how to deploy an image from Azure Container Registry to Azure App Service.
11
+
[Azure App Service](../../overview.md) on Linux provides predefined application stacks on Linux with support for languages such as .NET, Java, Node.js, and PHP. You can also use a custom Docker image to run your web app on an application stack that isn't already defined in Azure. This quickstart shows you how to deploy an image from Azure Container Registry to Azure App Service.
12
12
13
-
> [!NOTE]
14
-
> For information regarding running containerized applications in a serverless environment, please see [Container Apps](../../../container-apps/overview.md).
15
-
>
13
+
For more information about containerized applications in a serverless environment, see [Container Apps](../../../container-apps/overview.md).
16
14
17
-
To complete this quickstart, you need:
15
+
## Prerequisites
18
16
19
17
- An [Azure account](https://azure.microsoft.com/free/?utm_source=campaign&utm_campaign=vscode-tutorial-docker-extension&mktingSource=vscode-tutorial-docker-extension)
20
18
- An [Azure container registry](/azure/container-registry/container-registry-get-started-portal)
> The Dockerfile sets the port number to 80 internally. For more information about configuring the container, see [Configure custom container](../../configure-custom-container.md).
58
+
> [!NOTE]
59
+
> The Dockerfile sets the port number to 80 internally. For more information about configuring the container, see [Configure custom container](../../configure-custom-container.md).
62
60
63
-
## 3 - Deploy to Azure
61
+
## Deploy to Azure
64
62
65
63
### Sign in to Azure portal
66
64
@@ -70,80 +68,69 @@ Sign in to the [Azure portal](https://portal.azure.com).
70
68
71
69
1. Type **app services** in the search. Under **Services**, select **App Services**.
72
70
73
-
:::image type="content" source="../../media/quickstart-custom-container/portal-search.png?text=Azure portal search details" alt-text="Screenshot of searching for 'app services' in the Azure portal.":::
71
+
:::image type="content" source="../../media/quickstart-custom-container/portal-search.png" alt-text="Screenshot of searching for 'app services' in the Azure portal.":::
74
72
75
-
1. In the **App Services** page, select **+ Create**.
73
+
1. In the **App Services** page, select **Create** > **Web App**.
76
74
77
-
1. In the **Basics** tab, under **Project details**, ensure the correct subscription is selected and then select to **Create new** resource group. Type *myResourceGroup* for the name.
75
+
1. In the **Basics** tab, under **Project details**, select the correct subscription. Select**Create new** resource group. Type *myResourceGroup* for the name.
78
76
79
-
:::image type="content" source="../../media/quickstart-custom-container/project-details.png" alt-text="Screenshot of the Project details section showing where you select the Azure subscription and the resource group for the web app.":::
77
+
:::image type="content" source="../../media/quickstart-custom-container/project-details.png" alt-text="Screenshot of the Project details section showing where you select the Azure subscription and the resource group for the web app.":::
80
78
81
-
1. Under **Instance details**, type a globally unique name for your web app and select **Docker Container**. Select *Linux* for the **Operating System**. Select a **Region** you want to serve your app from.
79
+
1. Under **Instance details**:
82
80
83
-
:::image type="content" source="../../media/quickstart-custom-container/instance-details-linux.png" alt-text="Screenshot of the Instance details section where you provide a name for the virtual machine and select its region, image and size.":::
81
+
- Enter a globally unique name for your web app.
82
+
- Select **Container**.
83
+
- For the **Operating System**, select **Linux**.
84
+
- Select a **Region** that you want to serve your app from.
84
85
85
-
1. Under **App Service Plan**, select **Create new** App Service Plan. Type *myAppServicePlan* for the name. To change to the Free tier, select **Change size**, select the **Dev/Test** tab, select **F1**, and select the **Apply** button at the bottom of the page.
86
+
:::image type="content" source="../../media/quickstart-custom-container/instance-details-linux.png" alt-text="Screenshot of the Instance details section where you provide a name for the virtual machine and select its region, image, and size.":::
86
87
87
-
:::image type="content" source="../../media/quickstart-custom-container/app-service-plan-details-linux.png" alt-text="Screenshot of the App Service plan options.":::
88
+
1. Under **App Service Plan**, select **Create new** App Service Plan. Enter *myAppServicePlan* for the name. To change to the Free tier, select **Change size**, select the **Dev/Test** tab, select **F1**. Select **Apply**.
88
89
89
-
1. Select the **Next: Docker >** button at the bottom of the page.
90
+
:::image type="content" source="../../media/quickstart-custom-container/app-service-plan-details-linux.png" alt-text="Screenshot of the App Service plan options.":::
91
+
92
+
1. At the top of the page, select the **Container** tab.
93
+
94
+
1. In the **Container** tab, for **Image Source**, select **Azure Container Registry**. Under **Azure container registry options**, set the following values:
90
95
91
-
1. In the **Docker** tab, select *Single Container* under **Options** and *Azure Container Registry* for the **Image Source**. Under **Azure container registry options**, set the following values:
92
96
-**Registry**: Select your Azure Container Registry.
:::image type="content" source="../../media/quickstart-custom-container/azure-container-registry-options-linux.png" alt-text="Screenshot showing the Azure Container Registry options.":::
95
101
96
-
:::image type="content" source="../../media/quickstart-custom-container/azure-container-registry-options-linux.png" alt-text="Screenshot showing the Azure Container Registry options.":::
97
-
98
-
1. Select the **Review + create** button at the bottom of the page.
102
+
1. Select **Review + create** at the bottom of the page.
99
103
100
-
:::image type="content" source="../../media/quickstart-custom-container/review-create.png" alt-text="Screenshot showing the Review and create button at the bottom of the page.":::
104
+
:::image type="content" source="../../media/quickstart-custom-container/review-create.png" alt-text="Screenshot showing the Review and create button at the bottom of the page.":::
101
105
102
-
1. After validation runs, select the **Create** button at the bottom of the page.
106
+
1. After validation runs, select **Create**.
103
107
104
-
1. After deployment is complete, select **Go to resource**.
108
+
1. After deployment finishes, select **Go to resource**.
105
109
106
-
:::image type="content" source="../../media/quickstart-custom-container/next-steps.png" alt-text="Screenshot showing the next step of going to the resource.":::
110
+
:::image type="content" source="../../media/quickstart-custom-container/next-steps.png" alt-text="Screenshot showing the next step of going to the resource.":::
107
111
108
-
## 4 - Browse to the app
112
+
## Browse to the app
109
113
110
114
Browse to the deployed application in your web browser at the URL `http://<app-name>.azurewebsites.net`.
111
115
112
116
:::image type="content" source="../../media/quickstart-custom-container/browse-custom-container-linux.png" alt-text="Screenshot showing the deployed application.":::
113
117
114
-
## 5 - Clean up resources
118
+
## Clean up resources
115
119
116
120
[!INCLUDE [Clean-up Portal web app resources](../../../../includes/clean-up-section-portal-no-h.md)]
117
121
118
-
## Next steps
122
+
## Related content
119
123
120
124
Congratulations, you've successfully completed this quickstart.
121
125
122
-
The App Service app pulls from the container registry every time it starts. If you rebuild your image, you just need to push it to your container registry, and the app pulls in the updated image when it restarts. To tell your app to pull in the updated image immediately, restart it.
123
-
124
-
> [!div class="nextstepaction"]
125
-
> [Secure with custom domain and certificate](../../tutorial-secure-domain-certificate.md)
126
-
127
-
> [!div class="nextstepaction"]
128
-
> [Migrate to Windows container in Azure](../../tutorial-custom-container.md)
129
-
130
-
> [!div class="nextstepaction"]
131
-
> [Integrate your app with an Azure virtual network](../../overview-vnet-integration.md)
132
-
133
-
> [!div class="nextstepaction"]
134
-
> [Use Private Endpoints for App Service apps](../../networking/private-endpoint.md)
The App Service app pulls from the container registry each time it starts. If you rebuild your image, just push it to your container registry. The app pulls in the updated image when it restarts. To tell your app to pull in the updated image immediately, restart it.
127
+
128
+
-[Secure with custom domain and certificate](../../tutorial-secure-domain-certificate.md)
129
+
-[Migrate to Windows container in Azure](../../tutorial-custom-container.md)
130
+
-[Integrate your app with an Azure virtual network](../../overview-vnet-integration.md)
131
+
-[Use Private Endpoints for App Service apps](../../networking/private-endpoint.md)
0 commit comments