Skip to content

Commit ff2e061

Browse files
authored
Merge pull request #92766 from cephalin/issue#31012
#36380
2 parents 82981ad + 5d31824 commit ff2e061

File tree

3 files changed

+26
-15
lines changed

3 files changed

+26
-15
lines changed

articles/app-service/app-service-web-tutorial-windows-containers-custom-fonts.md

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.service: app-service-web
1111
ms.workload: web
1212
ms.tgt_pltfrm: na
1313
ms.topic: quickstart
14-
ms.date: 04/03/2019
14+
ms.date: 10/22/2019
1515
ms.author: cephalin
1616
ms.custom: mvc
1717
ms.custom: seodec18
@@ -87,6 +87,10 @@ RUN ${source:-obj/Docker/publish/InstallFont.ps1}
8787

8888
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).
8989

90+
> [!NOTE]
91+
> To test the Windows container locally, make sure that Docker is started on your local machine.
92+
>
93+
9094
## Publish to Azure Container Registry
9195

9296
[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.
132136

133137
From the left menu, select **Create a resource** > **Web** > **Web App for Containers**.
134138

135-
### Configure the new web app
139+
### Configure app basics
136140

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**.
138142

139143
| Setting | Suggested value | For more information |
140144
| ----------------- | ------------ | ----|
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**. | |
146152

147-
Click **App Service plan/Location** > **Create new**. Give the new plan a name, select **West Europe** as the location, and click **OK**.
153+
Your **Basics** tab should look like this:
148154

149-
![](media/app-service-web-tutorial-windows-containers-custom-fonts/configure-app-service-plan.png)
155+
![](media/app-service-web-tutorial-windows-containers-custom-fonts/configure-app-basics.png)
150156

151-
### Configure container
157+
### Configure Windows container
152158

153-
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**.
154160

155-
![](media/app-service-web-tutorial-windows-containers-custom-fonts/configure-app-container.png)
161+
| Setting | Suggested value |
162+
| ----------------- | ------------ |
163+
|**Image Source**| Azure Container Register |
164+
|**Registry**| Select [the registry you created earlier](#publish-to-azure-container-registry). |
165+
|**Image**| customfontsample |
166+
|**Tag**| latest |
156167

157168
### Complete app creation
158169

@@ -180,9 +191,9 @@ Wait a few minutes and try again, until you get the homepage with the beautiful
180191

181192
## See container start-up logs
182193

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.
184195
```
185-
https://<app_name>.scm.azurewebsites.net/api/logstream
196+
https://<app-name>.scm.azurewebsites.net/api/logstream
186197
```
187198

188199
The streamed logs looks like this:
0 Bytes
Loading
77.9 KB
Loading

0 commit comments

Comments
 (0)