Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
clarified user binding
  • Loading branch information
GodloveD committed Jan 6, 2017
commit af77d53a9815510fb7486c5221d397a0edfcb8a1
4 changes: 2 additions & 2 deletions pages/docs/admin-docs/advanced-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ The syntax for this consists of a bind path source and an optional bind path des


### USER BIND CONTROL (boolean, default='yes')
In addition to the system bind points as specified within this configuration file, you may also allow users to define their own bind points inside the container. This feature is used via multiple command line arguments (e.g. `--bind`, `--scratch`, and `--home`) so disabling user bind control will also disable those command line options.
In addition to the system bind points as specified within this configuration file, you may also allow users to define their own bind points inside the container. This feature is used via multiple command line arguments (e.g. `--bind`, `--scratch`, and `--home`) so disabling user bind control will also affect/disable those command line options.

Singularity will automatically disable this feature if the host does not support the prctl option `PR_SET_NO_NEW_PRIVS`.
Singularity will automatically disable this feature if the host does not support the prctl option `PR_SET_NO_NEW_PRIVS`. In addition, `enable overlay` must be set to `yes` and the host system must support overlayFS (generally kernel versions 3.18 and later).


## Logging
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/user-docs/docs-bind-paths.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The system administrator has the ability to define what bind points will be incl


#### User defined bind points
If the system administrator has enabled user control of binds (via `user bind control = yes` in `/etc/singularity/singularity.conf`), you will be able to request your own bind points within your container processes. The most typical example of this is the `--bind` option and here is an example binding `/tmp` to `/scratch` (which again does not exist within the container):
If the system administrator has enabled user control of binds and file system overlays (via `user bind control = yes` and `enable overlay = yes` in `/etc/singularity/singularity.conf`), you will be able to request your own bind points within your container processes. The most typical example of this is the `--bind` option and here is an example binding `/tmp` to `/scratch` (which again does not exist within the container). This feature may not be supported on older host systems:

```bash
$ singularity shell -B /tmp:/scratch /tmp/Centos7-ompi.img
Expand Down