Troubleshooting options
Fakeroot
Singularity permissions are an evolving field. If you don’t have access to sudo
, it might be worth considering using –fakeroot/-f parameter.
- More details at https://sylabs.io/guides/3.6/user-guide/fakeroot.html
Singularity cache directory
$HOME/.singularity
- It stores cached images from registries, instances, etc.
- If problems may be a good place to clean. When running
sudo
, $HOME is /root.
Global singularity configuration
Normally at /etc/singularity/singularity.conf
or similar (e.g preceded by /usr/local/
)
- It can only be modified by users with administration permissions
- Worth noting
bind path
lines, which point default mounted directories in containers