Guidance on Choosing Between Apptainer and SingularityCE for Computational Materials Science Applications. #2948
-
Hello Singularity Team, I am a researcher in the field of computational materials science, frequently using tools such as VASP, CP2K, and LAMMPS for my computational studies. I am currently evaluating container solutions to enhance the reproducibility and portability of my research environments across different computing systems. Given the close relationship and history between Apptainer and SingularityCE, I am seeking advice on which container solution would be more suitable for my specific use case. Here are some specific questions I have:
Your insights will be incredibly valuable to me and will greatly influence my decision on which technology to adopt for my research. See here for the related discussion. Thank you very much for your time and assistance. Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @hongyi-zhao. I have transferred your issue to a discussion thread, as it is not a bug or feature request, but is a usage related question. At this time, there are four main functional differences between SingularityCE and Apptainer, from my point of view as a SingularityCE maintainer:
I'd also like to stress that both projects are Open Source software, distributed under the BSD license. Although the main developers of SingularityCE are employed by Sylabs, it is not (as suggested in some material online) a proprietary commercial project. Both SingularityCE and Apptainer developers work with and accept contributions from the open source community. A great way of verifying that SingularityCE is a true open source project, is to take a look at how much of the development work in SingularityCE has been imported by the Apptainer developers into their project. With regard to your specific questions:
Edited 2024-05-29 to clarify unpriv build bullet point |
Beta Was this translation helpful? Give feedback.
-
Noting that I have edited the bullet point covering unprivileged builds to clarify it, per comment on the matching Apptainer issue - apptainer/apptainer#2248 (comment) |
Beta Was this translation helpful? Give feedback.
Hi @hongyi-zhao. I have transferred your issue to a discussion thread, as it is not a bug or feature request, but is a usage related question.
At this time, there are four main functional differences between SingularityCE and Apptainer, from my point of view as a SingularityCE maintainer:
SingularityCE uses a setuid binary to create containers by default, while Apptainer uses unprivileged user namespaces by default. There are different security concerns for each approach. Some HPC sites favour user namespaces, and some setuid due to the different trade-offs. Some workflows require additional configuration when using unprivileged user namespaces. Some things only work in setuid mode, e.g…