Giter VIP home page Giter VIP logo

singularity-admindocs's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

singularity-admindocs's Issues

Download SingularityCE from a release: typo in BASH snippet

https://sylabs.io/guides/3.8/admin-guide/installation.html#installation-on-linux

Download SingularityCE from a release

BASH Snippet

export VERSION=3.8.0 && # adjust this as necessary \
    wget https://github.com/sylabs/singularity/releases/download/v${VERSION}/singularity-ce-${VERSION}.tar.gz && \
    tar -xzf singularity-ce-${VERSION}.tar.gz && \
    cd singularity-ce-{$VERSION}

has a typo in the last line. It should be


cd singularity-ce-"${VERSION}"

MacOS installation Admin Guide

Which Document page:

To use Vagrant on Mac
https://docs.sylabs.io/guides/3.10/admin-guide/installation.html#mac

Expected results:

Installing SingularityCE on Macbook PRO (2017) using the command:

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install --cask virtualbox vagrant vagrant-manager

Actual results:

Running on MacOS Ventura, the command indicates Ruby Homebrew installer has been disabled

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 
Error: The Ruby Homebrew installer is now disabled and has been rewritten in
Bash. Please migrate to the following command:
 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

The updated command was successful
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)

4.0: Add OCI-mode security posture information

In the security discussion, cleary document the posture of OCI mode.

  • It is intended to be used by non-root users, in which case it is unprivileged (except for call-out to distro provided newuidmap / newgidmap which are setuid).
  • It does not aim to provide full isolation / prevent container escape when run as root. This has never been a goal of Singularity, and is a difference from other OCI runtimes.

--sif-fuse deprecation

  • The experimental --sif-fuse flag, and sif fuse directive in singularity.conf are deprecated. The flag and directive were used to enable experimental mounting of SIF/SquashFS container images with FUSE in prior versions of Singularity. From 4.1, FUSE mounts are used automatically when kernel mounts are disabled / not available.

Document cgroups v2 support

The --apply-cgroups flag can be used to apply cgroups resource and device restrictions on a system using the v2 unified cgroups hierarchy. The resource restrictions must still be specified in the v1 / OCI format, which will be translated into v2 cgroups resource restrictions, and eBPF device restrictions.

Add ecl.toml / container type interaction note

Note in configfiles.rst the scope of the ECL restrictions to SIF only...

The execution control list that can be used to restrict the execution
of SIF files by signing key is defined here. You can authorize the
containers by validating both the location of the SIF file in the
filesystem and by checking against a list of signing entities.

.. warning::

   The ECL configuration applies to SIF container images only. To lock
   down execution fully you should disable execution of other
   container types (squashfs/extfs/dir) via the ``singularity.conf``
   file ``allow container`` settings.

multi-layer SIF mention?

  • A new --keep-layers flag, for the pull and run/shell/exec/instance start commands, allows individual layers to be preserved when an OCI-SIF image is created from an OCI source. Multi layer OCI-SIF images can be run with SingularityCE 4.1 and later.

Document changes to PATH search for external binaries (3.9)

Paths for cryptsetup, go, ldconfig, mksquashfs, nvidia-container-cli, unsquashfs are now found at build time by mconfig and written into singularity.conf. The path to these executables can be overridden by changing the value in singularity.conf. If the path is not set in singularity.conf then the the executable will be found by searching $PATH.

Document non-standard ldconfig configuration requirements (3.9)

When calling ldconfig to find GPU libraries, singularity will not fall back to /sbin/ldconfig if the ldconfig on $PATH errors. If installing in a Guix/Nix on environment on top of a standard host distribution you must set ldconfig path = /sbin/ldconfig to use the host distribution ldconfig to find GPU libraries.

Document nvidia-container-cli setup / usage (3.9)

The experimental --nvccli flag will use nvidia-container-cli to setup the container for Nvidia GPU operation. SingularityCE will not bind GPU libraries itself. Environment variables that are used with Nvidia's docker-nvidia runtime to configure GPU visibility / driver capabilities & requirements are parsed by the --nvccli flag from the environment of the calling user. By default, the compute and utility GPU capabilities are configured. The use nvidia-container-cli option in singularity.conf can be set to yes to always use nvidia-container-cli when supported. Note that in a setuid install, nvidia-container-cli will be run as root with required ambient capabilities. --nvccli is not currently supported in the hybrid fakeroot (setuid install + --fakeroot) workflow. Please see documentation for more details.

squashfuse / extraction fallback in setuid mode

Document requirements and admin configuration

  • In native mode, SIF/SquashFS container images will now be mounted with
    squashfuse when kernel mounts are disabled in singularity.conf, or cannot be
    used (non-setuid / user namespace workflow). If the FUSE mount fails,
    Singularity will fall back to extracting the container to a temporary sandbox
    in order to run it.
  • In native mode, bare extfs container images will now be mounted with
    fuse2fs when kernel mounts are disabled in singularity.conf, or cannot be
    used (non-setuid / user namespace workflow).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.