Skip to content

Commit 2636d5d

Browse files
Apply suggestions from code review
Co-authored-by: Craig Shoemaker <[email protected]>
1 parent 0c21e6c commit 2636d5d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/container-apps/storage-mounts.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,10 +676,14 @@ The sub path is optional. If not specified, the volume root is mounted.
676676
The sub path is 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, where `/my-volume-folder` is not.
677677
678678
The sub path can refer to either a folder or a file in the volume.
679+
679680
- 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, suppose 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 it should not already contain the file `my-container-file`.
681681
682-
If the sub path has a trailing `/`, whether it refers to a folder or file, the trailing `/` is ignored.
682+
- If the sub path refers to a file, the mount path should refer to a file that does not already exist in the container.
683+
684+
For example, suppose the sub path is `my-volume-folder/my-volume-file.txt`, and the mount path is `/my-container-folder/my-container-file`. The folder `/my-container-folder` should already exist in the container but should not yet contain the file `my-container-file.txt`.
685+
686+
If the sub path trailing slashes are ignored.
683687
684688
## Related content
685689

0 commit comments

Comments
 (0)