Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By default, the Singularity container filesystem is read-only. There are 2 methods options to build a writable Singularity container.

If you wanted The "--sandbox" option allows users to create a container within a writable directory (called a sandbox) you could do so with the "--sandbox" option. It’s possible to create a sandbox without root privileges, but to ensure proper file permissions it is recommended to do so as root.

Code Block
languagebash
singularity build --sandbox cuda-ppc64le/ docker://nvidia/cuda-ppc64le:9.2-cudnn7-devel-ubuntu16.0
singularity shell --writable cuda-ppc64le/

If users wanted The "--writable" option allows users to create a writable ext3 image, user could do so with the "--writable" option. You must create writable containers as root.

Code Block
languagebash
singularity build --writable cuda-ppc64le.simg docker://nvidia/cuda-ppc64le:9.2-cudnn7-devel-ubuntu16.04
singularity shell --writable cuda-ppc64le.simg

Frequently Asked Questions

...