Skip to content

Commit 2425c36

Browse files
authored
Merge pull request #35 from GodloveD/add-a-faq
a new faq and a small addition to the Docker faq
2 parents e3c2cb0 + eea995b commit 2425c36

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

pages/docs/overview/faq.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ $ sudo singularity create ubuntu-latest.img
140140
$ sudo singularity bootstrap ubuntu-latest.img ubuntu.def
141141
```
142142

143+
Make sure you are running Singularity >2.2 to make full use of this feature.
144+
143145
### Can a Singularity container be multi-threaded?
144146

145147
Yes. Singularity imposes no limitations on forks, threads or processes in general.
@@ -227,6 +229,15 @@ Additionally, there are precautions within the container context to mitigate any
227229

228230
You can read more about the Singularity <a href="/docs-security">security overview here</a>.
229231

232+
### When I try mounting my container with the ```-B``` or ```--bind``` option I receive an <i>unknown option</i> or <i>Invalid argument</i> error.
233+
234+
Make sure that you are using the most recent Singularity release to mount your container to the host system, and that the ```--bind``` argument is placed after the execution command (e.g. ```run```, ```exec```, ```shell```). An example might look like this:
235+
236+
```bash
237+
$ singularity run -B $PWD:/data my_container.img
238+
```
239+
240+
Also, make sure you are using an up-to-date Singularity to bootstrap your container. Some features (such as ```--bind```) will not work in earlier versions.
230241

231242
## Troubleshooting
232243

0 commit comments

Comments
 (0)