File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
docs/software/container-engine Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments