Skip to content

Commit 6fe9b3e

Browse files
Updated info on bind paths
1 parent dfb0c8a commit 6fe9b3e

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

mkdocs-project-dir/docs/Software_Guides/Singularity.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ layout: docs
55

66
# Using Apptainer (Singularity) on our clusters
77

8-
Myriad has Apptainer installed, which will be rolled out to our other clusters at a later date.
9-
The other clusters still have Singularity. You can use containers you have downloaded in your space.
8+
The clusters all have Apptainer installed.
9+
You can use containers you have downloaded in your space.
1010

1111

1212

@@ -39,12 +39,22 @@ export APPTAINER_CACHEDIR=$HOME/Scratch/.apptainer
3939
4040
```
4141

42-
You probably want to add those `export` statements to your `.bashrc` under `# User specific aliases and functions` so those environment variables are always set when you log in.
42+
You may want to add those `export` statements to your `.bashrc` under `# User specific aliases and functions` so those environment variables are always set when you log in.
4343

4444
### Bind locations
4545

46-
Your $HOME and Scratch directories are bound automatically so they are available
47-
from inside your containers.
46+
Your $HOME directory is bound automatically so it is available from inside your containers.
47+
On clusters other than Myriad, your Scratch directory is also bound. You can pass in other
48+
bind paths.
49+
50+
If you want to have no automatically-bound locations you can use the `--no-mount bind-paths`
51+
option, for example:
52+
```
53+
apptainer run --no-mount bind-paths mycontainer.sif
54+
```
55+
56+
This can be useful if you want to isolate the container from the contents of your home directory,
57+
for example conflicting software packages you might have installed there.
4858

4959
For more information on these options, have a look at the Apptainer documentation:
5060

0 commit comments

Comments
 (0)