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/container-apps/storage-mounts.md
+34-16Lines changed: 34 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: craigshoemaker
6
6
ms.service: azure-container-apps
7
7
ms.custom: devx-track-azurecli
8
8
ms.topic: conceptual
9
-
ms.date: 09/19/2024
9
+
ms.date: 01/23/2025
10
10
ms.author: cshoe
11
11
zone_pivot_groups: arm-azure-cli-portal
12
12
---
@@ -574,51 +574,69 @@ See the [ARM template API specification](azure-resource-manager-api-spec.md) for
574
574
575
575
::: zone pivot="azure-portal"
576
576
577
-
# [SMB](#tab/smb)
578
-
579
577
To configure a volume mount for Azure Files storage in the Azure portal, add a file share to your Container Apps environment and then add a volume mount to your container app by creating a new revision.
580
578
581
579
1. In the Azure portal, navigate to your Container Apps environment.
582
580
583
-
1. Select **Azure Files** from the left menu.
581
+
1. In the navigation pane, under *Settings*, select **Azure Files**.
584
582
585
583
1. Select **Add**.
586
584
587
-
1. In the *Add file share* context menu, enter the following information:
585
+
1. Select **Server Message Block (SMB)** or **Network File System (NFS)**, depending on the protocol used by your file share.
586
+
587
+
1. In the *Add file share* context pane, enter the following information:
588
+
589
+
# [SMB](#tab/smb)
588
590
589
591
- **Name**: A name for the file share.
590
592
- **Storage account name**: The name of the storage account that contains the file share.
591
593
- **Storage account key**: The access key for the storage account.
592
594
- **File share**: The name of the file share.
593
-
- **Access mode**: The access mode for the file share. Valid values are "Read/Write" and "Read only".
595
+
- **Access mode**: The access mode for the file share. Valid values are **Read/Write** and **Read only**.
596
+
597
+
# [NFS](#tab/nfs)
598
+
599
+
- **Name**: A name for the file share.
600
+
- **Server**: The name of the server that contains the file share. This has the form `<STORAGE_ACCOUNT_NAME>.file.core.windows.net`.
601
+
- **File share name**: The name of the file share. This has the form `/<STORAGE_ACCOUNT_NAME>/<FILE_SHARE_NAME>`.
602
+
- **Access mode**: The access mode for the file share. Valid values are **Read/Write** and **Read only**.
603
+
604
+
---
594
605
595
606
1. Select **Add** to exit the context pane.
596
607
597
608
1. Select **Save** to commit the changes.
598
609
599
610
1. Navigate to your container app.
600
611
601
-
1. Select **Revision management** from the left menu.
612
+
1. In the navigation pane, under *Application*, select **Revisions and replicas**.
602
613
603
614
1. Select **Create new revision**.
604
615
616
+
1. In the *Create and deploy new revision* page, select the **Volumes** tab.
617
+
618
+
1. Select **Add**.
619
+
620
+
1. In the *Add volume* context pane, set the following.
621
+
622
+
- **Volume type**: **Azure file volume**.
623
+
- **Name**: Enter a volume name.
624
+
- **File share name**: Select the file share you created previously.
625
+
626
+
1. Select **Add** to exit the context pane.
627
+
628
+
1. In the *Create and reploy new revision* page, select the **Container** tab.
629
+
605
630
1. Select the container that you want to mount the volume in.
606
631
607
632
1. In the *Edit a container* context pane, select the **Volume mounts** tab.
608
633
609
-
1. Under the *File shares* section, create a new volume with the following information.
634
+
1. Under *Volume name*, select the volume you created previously.
610
635
611
-
- **File share name**: The file share you added.
612
-
- **Mount path**: The absolute path in the container to mount the volume.
636
+
1. In **Mount path**, enter the absolute path in the container to mount the volume.
613
637
614
638
1. Select **Save** to save changes and exit the context pane.
615
639
616
640
1. Select **Create** to create the new revision.
617
641
618
-
# [NFS](#tab/nfs)
619
-
620
-
Azure portal doesn't support creating NFS Azure Files volumes. To create an NFS Azure Files volume, use the [Azure CLI](storage-mounts.md?tabs=nfs&pivots=azure-cli#azure-files) or [ARM template](storage-mounts.md?tabs=nfs&pivots=azure-resource-manager#azure-files).
0 commit comments