4.8 Troubleshooting

     singularity --help

4.8.1 Fakeroot

Singularity permissions are an evolving field. If you don’t have access to sudo, it might be worth considering using --fakeroot/-f parameter.

4.8.2 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.

4.8.3 Global singularity configuration

Normally at /etc/singularity/singularity.conf or similar (e.g preceded by /usr/local/ is Singularity is installed manually)

  • It can only be modified by users with administration permissions
  • Worth noting bind path lines, which point default mounted directories in containers as commented in bind paths section