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
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -670,11 +670,15 @@ When mounting a file share from Azure Files, in addition to the mount path, you
670
670
671
671
- The mount path is the path in the container where you want to mount the volume.
672
672
- The sub path is the path in the volume you want to mount.
673
-
- The sub path is optional. If not specified, the volume root is mounted.
674
-
- The sub path should be a relative path from the volume root. The sub path should not start with `/`. Specifying a sub path that starts with `/` might prevent your container app from starting up. For example, `my-volume-folder` is a valid sub path, whereas `/my-volume-folder` is not.
675
-
- The sub path can refer to either a folder or a file in the volume.
676
-
- If the sub path refers to a folder, the mount path should refer to an empty folder in the container.
677
-
- If the sub path refers to a file, the mount path should refer to a file that does not already exist in the container. For example, if the sub path is `my-volume-folder/my-volume-file` and the mount path is `/my-container-folder/my-container-file`, the folder `/my-container-folder` should exist in the container, but should not already contain the file `my-container-file`.
678
-
- If the sub path has a trailing `/`, whether it refers to a folder or file, the trailing `/` is ignored.
673
+
674
+
The sub path is optional. If not specified, the volume root is mounted.
675
+
676
+
The sub path should be a relative path from the volume root. The sub path should not start with `/`. Specifying a sub path that starts with `/` might prevent your container app from starting up. For example, `my-volume-folder` is a valid sub path, whereas `/my-volume-folder` is not.
677
+
678
+
The sub path can refer to either a folder or a file in the volume.
679
+
- If the sub path refers to a folder, the mount path should refer to an empty folder in the container.
680
+
- If the sub path refers to a file, the mount path should refer to a file that does not already exist in the container. For example, if the sub path is `my-volume-folder/my-volume-file` and the mount path is `/my-container-folder/my-container-file`, the folder `/my-container-folder` should exist in the container, but should not already contain the file `my-container-file`.
681
+
682
+
If the sub path has a trailing `/`, whether it refers to a folder or file, the trailing `/` is ignored.
679
683
680
684
For more information see [using subPath](https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath).
0 commit comments