Singularity is a Linux container runtime similar to Docker. Key advantages over Docker are
Singularity per default mounts your home directory and also passes your current working directory when starting a container. Therefore it is easy to use it for development.
Once ogs executable is built it can be called from outside the container:
This starts the container, mounts your home directory inside the container, passes the current working directory and runs the ogs executable (which is in your home directory which is mounted inside the container) with the passed project file. Everything works as expected and is transparent to the user. When ogs finishes the container stops and you returns to the host system.
You can download a prebuilt container from Docker Hub as shown above (e.g.
singularity pull docker://ogs6/gcc). But we also provide a container generator to create a specific container for your needs.