sylabs/singularity: SingularityCE 3.11.0 Release Candidate 2
Authors/Creators
- Gregory M. Kurtzer1
- cclerget
- Dave Trudgian2
- Michael Bauer3
- Ian Kaneshiro
- David Godlove4
- Vanessasaurus
- Yannick Cote5
- Carlos Eduardo Arango Gutierrez6
- Adam Hughes7
- Geoffroy Vallee8
- DrDaveD
- Justin Cook9
- Jason Stover
- Brian P Bockelman10
- Marcelo Magallon11
- Jacob Chappell12
- Mike Frisch
- Daniele Tamino
- Carl Madison
- Sasha Yakovtseva
- Amanda Duffy13
- Satrajit Ghosh14
- VP
- Tru Huynh15
- Mike Gray16
- Yaroslav Halchenko17
- Felix Abecassis6
- 1. Singularity Labs
- 2. @sylabs
- 3. Relativity Space
- 4. Ctrl IQ
- 5. Red Hat
- 6. NVIDIA
- 7. Sylabs Inc
- 8. @NVIDIA
- 9. @NERSC
- 10. Morgridge Institute for Research
- 11. @grafana
- 12. @lampo
- 13. Lenovo
- 14. MIT
- 15. Unité de Bioinformatique Structurale, Institut Pasteur
- 16. Self
- 17. Dartmouth College, @Debian, @DataLad, @PyMVPA, @fail2ban
Description
This is the second release candidate for the upcoming Singularity 3.11.0 release. Users are encouraged to test and report any issues, but should use the stable 3.10 release for production deployments.
3.11.0 Release Candidate 2 [2023-02-02] Bug Fixes- Avoid UID / GID readonly var warnings with
--env-file. - Ensure proot flow does not override
--remotebuild.
- Image driver plugins, implementing the
RegisterImageDrivercallback, are deprecated and will be removed in 4.0. Support for the example plugin, permitting Ubuntu unprivileged overlay functionality, has been replaced with direct support for kernel unprivileged overlay. - When the kernel supports unprivileged overlay mounts in a user namespace, the container will be constructed using an overlay instead of underlay layout.
crunwill be used as the low-level OCI runtime, when available, rather thanrunc. Ifcrunis not available,runcwill be used.sessiondir maxsizeinsingularity.confnow defaults to 64 MiB for new installations. This is an increase from 16 MiB in prior versions.- Instances are started in a cgroup, by default, when run as root or when unified cgroups v2 with systemd as manager is configured. This allows
singularity instance statsto be supported by default when possible.
- Support for a custom hashbang in the
%testsection of a Singularity recipe (akin to the runscript and start sections). - Non-root users can now build from a definition file, on systems that do not support
--fakeroot. This requires the statically builtprootcommand (https://proot-me.github.io/) to be available on the userPATH. These builds:- Do not support
arch/debootstrap/yum/zypperbootstraps. Uselocalimage,library,oras, or one of the docker/oci sources. - Do not support
%preand%setupsections. - Run the
%postsections of a build in the container as an emulated root user. - Run the
%testsection of a build as the non-root user, likesingularity test. - Are subject to any restrictions imposed in
singularity.conf. Incur a performance penalty due toproot'sptracebased interception of syscalls. - May fail if the
%postscript requires privileged operations thatprootcannot emulate.
- Do not support
- Instances started by a non-root user can use
--apply-cgroupsto apply resource limits. Requires cgroups v2, and delegation configured via systemd. - A new
instance statscommand displays basic resource usage statistics for a specified instance, running within a cgroup. - Instance name is available inside an instance via the new
SINGULARITY_INSTANCEenvironment variable.
--writable-tmpfsis now available when running unprivileged, or explicitly requesting a user namespace, on systems with a kernel that supports unprivileged overlay mounts in a user namespace.- The
--no-mountflag now accepts the valuebind-pathsto disable mounting of allbind pathentries insingularity.conf. - Persistent overlays (
--overlay) from a directory are now available when running unprivileged, or explicitly requesting a user namespace, on systems with a kernel that supports unprivileged overlay mounts in a user namespace. - Add
--sparseflag tooverlay createcommand to allow generation of a sparse ext3 overlay image.
- Support for
DOCKER_HOSTparsing when usingdocker-daemon:// DOCKER_USERNAMEandDOCKER_PASSWORDsupported withoutSINGULARITY_prefix.- A new
--ociflag forrun/exec/shellenables the experimental OCI runtime mode. This mode:- Runs OCI container images from an OCI bundle, using
runcorcrun. - Supports
docker://,docker-archive:,docker-daemon:,oci:,oci-archive:image sources. - Does not support running Singularity SIF, SquashFS, or EXT3 images.
- Provides an environment similar to Singularity's native runtime, running with
--compat. - Supports the following options / flags. Other options are not yet supported:
--fakerootfor effective root in the container. Requires subuid/subgid mappings.- Bind mounts via
--bindor--mount. No image mounts. - Additional namespaces requests with
--net,--uts,--user. - Container environment variables via
--env,--env-file, andSINGULARITYENV_host env vars. --rocmto bind ROCm GPU libraries and devices into the container.--nvto bind Nvidia driver / basic CUDA libraries and devices into the container.--apply-cgroups, and the--cpu*,--blkio*,--memory*,--pids-limitflags to apply resource limits.
- Runs OCI container images from an OCI bundle, using
- The
signcommand now supports signing with non-PGP key material by specifying the path to a private key via the--keyflag. - The
verifycommand now supports verification with non-PGP key material by specifying the path to a public key via the--keyflag. - The
verifycommand now supports verification with X.509 certificates by specifying the path to a certificate via the--certificateflag. By default, the system root certificate pool is used as trust anchors unless overridden via the--certificate-rootsflag. A pool of intermediate certificates that are not trust anchors, but can be used to form a certificate chain can also be specified via the--certificate-intermediatesflag. - Support for online verification checks of x509 certificates using OCSP protocol. (introduced flag:
verify --ocsp-verify)
- Add new Linux capabilities:
CAP_PERFMON,CAP_BPF,CAP_CHECKPOINT_RESTORE. - A new
--reproducibleflag for./mconfigwill configure Singularity so that its binaries do not contain non-reproducible paths. This disables plugin functionality.
- In
--rocmmode, the whole of/dev/driis now bound into the container when--containis in use. This makes/dev/dri/renderdevices available, required for later ROCm versions. - Overlay is blocked on the
panfsfilesystem, allowing sandbox directories to be run frompanfswithout error.
- Significant reduction in the use of network image sources in the e2e tests.
- Improved parallelization and use of image caches in the e2e tests.
- The
e2e-testmakefile target now accepts an argumentE2E_GROUPSto only run specified groups of end to end tests. E.g.make -C builddir e2e-test E2E_GROUPS=VERSION,HELPwill run end to end tests in theVERSIONandHELPgroups only. - The
e2e-testmakefile target now accepts an argumentE2E_TESTSwhich is a regular expression specifying the names of (top level) end to end tests that should be run. E.g.make -C builddir e2e-test E2E_TESTS=^semanticwill only run end to end tests with a name that begins withsemantic. TheseE2E_variables offer an alternative to the-runflag, which may be easier to use given the structure of e2e tests.
Thanks to our contributors for code, feedback and, testing efforts!
As always, please report any bugs to: https://github.com/sylabs/singularity/issues/new
If you think that you've discovered a security vulnerability please report it to: security@sylabs.io
Have fun!
DownloadsSource Code
Please use the singularity-ce-3.11.0-rc.2.tar.gz download below to obtain and install SingularityCE 3.11.0-rc.2. The GitHub auto-generated 'Source Code' downloads do not include required dependencies etc.
Packages
RPM / DEB packages are provided for:
- Ubuntu 18.04 (bionic)
- Ubuntu 20.04 (focal)
- Ubuntu 22.04 (jammy)
- RHEL/CentOS 7 (el7)
- RHEL/CentOS/AlmaLinux/Rocky 8 (el8)
- RHEL/CentOS/AlmaLinux/Rocky 9 (el9)
These packages were built with Go 1.19.3
Files
sylabs/singularity-v3.11.0-rc.2.zip
Files
(5.7 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:2c34ff6e893118ac42838e44734da8e0
|
5.7 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/sylabs/singularity/tree/v3.11.0-rc.2 (URL)