...
- Install Oracle Virtual Box on your desktop or laptop. You can then install your own Linux virtual machine with the Singularity rpm, giving yourself root/sudo privilege on that VM. This will allow you to build an image. The solution works for both Windows, Mac and Linux desktop/laptop.
- Even easier than using Virtual Box directly: Use Vagrant. Vagrant uses Virtual Box by default. The advantage to Vagrant is that the OS install does not need to be done – Vagrant downloads preinstalled images, so you can run "vagrant up" and then ssh into your VM in seconds.
- Similarly, one can install Docker on your desktop or laptop. Then install / pull a Linux Docker container and install Singularity rpm in the container. The rest is the same as above.
- Build what you need in a Docker image and upload to Docker Hub, and on a SLAC Linux host, use command "
singularity pull your_docker_image
" to convert and save it as a Singularity image.
...