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/tutorial-sidecar/common-faqs.md
+13-14Lines changed: 13 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,33 +2,32 @@
2
2
author: cephalin
3
3
ms.service: azure-app-service
4
4
ms.topic: include
5
-
ms.date: 05/08/2025
5
+
ms.date: 06/18/2025
6
6
ms.author: cephalin
7
7
---
8
8
9
9
### How do sidecar containers handle internal communication?
10
10
11
-
Sidecar containers share the same network host as the main container, so the main container (and other sidecar containers) can reach any port on the sidecar with `localhost:<port>`. The example *startup.sh* uses `localhost:4318` to access port 4318 on the **otel-collector** sidecar.
11
+
Sidecar containers share the same network host as the main container, so the main container and other sidecar containers can reach any port on the sidecar with `localhost:<port>`. The example *startup.sh* uses `localhost:4318` to access port 4318 on the otel-collector sidecar.
12
12
13
-
In the **Edit container** dialog, the **Port**box isn't currently used by App Service. You can use it as part of the sidecar metadata, such as to indicate which port the sidecar is listening to.
13
+
In the **Edit container** dialog, the **Port**setting isn't currently used by App Service. You can use it as part of the sidecar metadata, such as to indicate which port the sidecar is listening to.
14
14
15
15
### Can a sidecar container receive internet requests?
16
16
17
-
No. App Service routes internet requests only to the main container. For code-based Linux apps, the built-in Linux container is the main container, and any sidecar container ([sitecontainers](/azure/templates/microsoft.web/sites/sitecontainers)) should be added with`IsMain=false`. For custom containers, all but one of the [sitecontainers](/azure/templates/microsoft.web/sites/sitecontainers) should have`IsMain=false`.
17
+
No. App Service routes internet requests only to the main container. For code-based Linux apps, the built-in Linux container is the main container, and any sidecar [`sitecontainers`](/azure/templates/microsoft.web/sites/sitecontainers) should be added with `IsMain=false`.
18
18
19
-
For more information on configuring `IsMain`, see [Microsoft.Web sites/sitecontainers](/azure/templates/microsoft.web/sites/sitecontainers).
19
+
For custom containers, all except one of the [`sitecontainers`](/azure/templates/microsoft.web/sites/sitecontainers) should have `IsMain=false`. For more information on configuring `IsMain`, see [Microsoft.Web sites/sitecontainers](/azure/templates/microsoft.web/sites/sitecontainers).
20
20
21
21
### How do I use volume mounts?
22
22
23
-
The Volume mounts feature enables you to share non-persistent files and directories between containers within your Web App.
23
+
The volume mounts feature lets you share non-persistent files and directories between containers within your web app. To add or configure volume mounts, use **Volume mounts** on the **Add container** or **Edit container** page.
24
24
25
25
:::image type="content" source="../../media/tutorial-custom-container-sidecar/configure-volume-mounts.png" alt-text="Screenshot showing a volume mount configuration for a sidecar container.":::
26
26
27
-
**Volume sub path:** This is a logical directory path that is automatically created, and is not referenced within the container. Containers that are configured with the same volume sub path can share files and directories with each other.
27
+
-**Volume sub path** is an automatically created logical directory path that isn't referenced within the container. Containers that are configured with the same volume sub path can share files and directories.
28
+
-**Container mount path** is a directory path that you reference within the container. The container mount path is mapped to the volume sub path.
28
29
29
-
**Container mount path:** This corresponds to a directory path that you reference within the container. The container mount path is mapped to the volume sub path.
30
-
31
-
For example, suppose the following volume mounts are configured:
30
+
For example, suppose you configure the following volume mounts:
32
31
33
32
| Sidecar name | Volume sub path | Container mount path | Read-only |
Based on these settings, the following conditions apply:
41
-
-If Container1 creates **/container1Vol/myfile.txt**, Container2 can read the file via **/container2Vol/myfile.txt**.
42
-
-If Container1 creates **/container1Vol/directory3/myfile.txt**, Container2 can read the file via **/container2Vol/directory3/myfile.txt**, and Container3 can read and write to the file via **/container3Vol/myfile.txt**.
43
-
-Container4 does not share a volume mount in common with any of the other containers.
40
+
-If Container1 creates */container1Vol/myfile.txt*, Container2 can read the file via */container2Vol/myfile.txt*.
41
+
-If Container1 creates */container1Vol/directory3/myfile.txt*, Container2 can read the file via */container2Vol/directory3/myfile.txt*, and Container3 can read and write to the file via */container3Vol/myfile.txt*.
42
+
-Container4 doesn't share a volume mount in common with any of the other containers.
44
43
45
44
> [!Note]
46
-
> For code-based Linux apps, the built-in Linux container cannot use volume mounts.
45
+
> For code-based Linux apps, the built-in Linux container can't use volume mounts.
Copy file name to clipboardExpand all lines: articles/app-service/includes/tutorial-sidecar/sidecar-overview.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,11 @@
2
2
author: cephalin
3
3
ms.service: azure-app-service
4
4
ms.topic: include
5
-
ms.date: 05/08/2025
5
+
ms.date: 06/19/2025
6
6
ms.author: cephalin
7
7
---
8
8
9
-
## What's a sidecar container?
9
+
Sidecar containers in App Service let you deploy extra services and features to your Linux apps without tightly coupling them to the built-in or custom main container. The sidecar containers run alongside the main application container in the same App Service plan.
10
10
11
-
In Azure App Service, you can add up to nine sidecar containers for each Linux app. Sidecar containers let you deploy extra services and features to your Linux apps without making them tightly coupled to the main container (built-in or custom). For example, you can add monitoring, logging, configuration, and networking services as sidecar containers. An OpenTelemetry collector sidecar is one such monitoring example.
11
+
You can add up to nine sidecar containers for each Linux appin App Service. For example, you can add monitoring, logging, configuration, and networking services as sidecar containers. An OpenTelemetry collector sidecar is one example for monitoring.
12
12
13
-
The sidecar containers run alongside the main application container in the same App Service plan.
0 commit comments