Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oci: Support --no-mount, to extent possible, from sylabs 1785 #341

Merged
merged 1 commit into from
Jul 11, 2023

Commits on Jul 10, 2023

  1. oci: Support --no-mount, to extent possible

    Allow the `--no-mount` flag to be specified in `--oci` mode. This
    allows disabling the following mounts:
    
    * proc
    * sys
    * devpts
    * tmp
    * home
    
    Note that `dev` cannot be supported in `--oci` mode, as an OCI
    runtime *requires* that certain devices are present, and will include
    them in a `/dev` tmpfs.
    
    We currently run similar to native mode `--compat`, so we don't mount
    the current working directory. Therefore, `--no-mount cwd` is not
    supported.
    
    Similarly, `--compat` infers that `bind path` entries from
    `singularity.conf` are ignored. We may handle them in some way, in future.
    
    Fixes sylabs/singularity#1781
    
    Signed-off-by: Edita Kizinevic <edita.kizinevic@cern.ch>
    dtrudg authored and edytuk committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    745c6ac View commit details
    Browse the repository at this point in the history