Skip to content

Commit 42866c7

Browse files
authored
Update the examples about the mount EDF option. (#196)
I noticed that the current CE documentation is missing how to specify multiple mount points. This PR adds this example.
1 parent f74dc93 commit 42866c7

File tree

1 file changed

+6
-1
lines changed
  • docs/software/container-engine

1 file changed

+6
-1
lines changed

docs/software/container-engine/edf.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,19 @@ List of mounts in the format `SOURCE:DESTINATION[:FLAGS]`. By default, it perfor
142142

143143
* Mounting the scratch filesystem using a host environment variable
144144
```toml
145-
mounts = ["${SCRATCH}:/scratch"]
145+
mounts = ["${SCRATCH}:${SCRATCH}"]
146146
```
147147

148148
* Mounting a SquashFS image `${SCRATCH}/data.sqsh` to `/data`
149149
```toml
150150
mounts = ["${SCRATCH}/data.sqsh:/data:sqsh"]
151151
```
152152

153+
* Mounting multiple entities (the scratch filesystem and a SquashFS image)
154+
```toml
155+
mounts = ["${SCRATCH}:${SCRATCH}", "${SCRATCH}/data.sqsh:/data:sqsh"]
156+
```
157+
153158
!!! note
154159
* Mount flags are separated with a plus symbol, for example: `ro+private`.
155160

0 commit comments

Comments
 (0)