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/app-service-web-tutorial-windows-containers-custom-fonts.md
+26-15Lines changed: 26 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.service: app-service-web
11
11
ms.workload: web
12
12
ms.tgt_pltfrm: na
13
13
ms.topic: quickstart
14
-
ms.date: 04/03/2019
14
+
ms.date: 10/22/2019
15
15
ms.author: cephalin
16
16
ms.custom: mvc
17
17
ms.custom: seodec18
@@ -87,6 +87,10 @@ RUN ${source:-obj/Docker/publish/InstallFont.ps1}
87
87
88
88
You can find _InstallFont.ps1_ in the **CustomFontSample** project. It's a simple script that installs the font. You can find a more complex version of the script in the [Script Center](https://gallery.technet.microsoft.com/scriptcenter/fb742f92-e594-4d0c-8b79-27564c575133).
89
89
90
+
> [!NOTE]
91
+
> To test the Windows container locally, make sure that Docker is started on your local machine.
92
+
>
93
+
90
94
## Publish to Azure Container Registry
91
95
92
96
[Azure Container Registry](https://docs.microsoft.com/azure/container-registry/) can store your images for container deployments. You can configure App Service to use images hosted in Azure Container Registry.
@@ -132,27 +136,34 @@ Sign in to the Azure portal at https://portal.azure.com.
132
136
133
137
From the left menu, select **Create a resource** > **Web** > **Web App for Containers**.
134
138
135
-
### Configure the new web app
139
+
### Configure app basics
136
140
137
-
In the create interface, configure the settings according to the following table:
141
+
In the **Basics** tab, configure the settings according to the following table, then click **Next: Docker**.
138
142
139
143
| Setting | Suggested value | For more information |
140
144
| ----------------- | ------------ | ----|
141
-
|**App Name**| Type a unique name. | The URL of the web app is `http://<app_name>.azurewebsites.net`, where `<app_name>` is your app name. |
142
-
|**Resource Group**| Select **Use existing** and type **myResourceGroup**. ||
143
-
|**OS**| Windows (Preview) ||
144
-
145
-
### Configure App Service plan
145
+
|**Subscription**| Make sure the correct subscription is selected. ||
146
+
|**Resource Group**| Select **Create new**, type **myResourceGroup**, and click **OK**. ||
147
+
|**Name**| Type a unique name. | The URL of the web app is `http://<app-name>.azurewebsites.net`, where `<app-name>` is your app name. |
148
+
|**Publish**| Docker container ||
149
+
|**Operating System**| Windows ||
150
+
|**Region**| West Europe ||
151
+
|**Windows Plan**| Select **Create new**, type **myAppServicePlan**, and click **OK**. ||
146
152
147
-
Click**App Service plan/Location**> **Create new**. Give the new plan a name, select **West Europe** as the location, and click **OK**.
Click **Configure container** > **Azure Container Registry**. Select the registry, image, and tag you created earlier in [Publish to Azure Container Registry](#publish-to-azure-container-registry), and click**OK**.
159
+
In the **Docker** tab, configure your custom Windows container as shown in the following table, and select**Review + create**.
|**Registry**| Select [the registry you created earlier](#publish-to-azure-container-registry). |
165
+
|**Image**| customfontsample |
166
+
|**Tag**| latest |
156
167
157
168
### Complete app creation
158
169
@@ -180,9 +191,9 @@ Wait a few minutes and try again, until you get the homepage with the beautiful
180
191
181
192
## See container start-up logs
182
193
183
-
It may take some time for the Windows container to load. To see the progress, navigate to the following URL by replacing *\<app_name>* with the name of your app.
194
+
It may take some time for the Windows container to load. To see the progress, navigate to the following URL by replacing *\<app-name>* with the name of your app.
0 commit comments