Apptainer: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 34: Line 34:


==Running Programs Within a Container==
==Running Programs Within a Container==
===<code>sudo</code> Access With Apptainer is NOT Available===
Many users ask about this since documentation and web sites do discuss using using <code>sudo</code> with Apptainer/Singularity. A major design aspect of Apptainer is security and know that <code>sudo</code> access is '''NOT''' available on our clusters. Should you require using <code>sudo</code>, consider the following:
* Install Linux, Apptainer, and <code>sudo</code> in a virtual machine on a system you control where so you will be able to have <code>sudo</code> access within such. (Some images cannot be successfully built without using sudo.)
* If appropriate, [[Technical Support|submit a ticket]] asking if Alliance staff would be able to help build the image(s), etc. required needing <code>sudo</code>. (Understand that this may or may not be possible --but ask in a ticket if what you wish to achieve is beyond your means: there may be other ways to achieve those needs.)
* Apptainer version 1.1 (which has not yet been released as of this writing (August 2022)), may well allow users to use the <code>--fakeroot</code> option with various Apptainer commands. After such has been released, this web page will be updated after the feature has been explored more, tested, and installed on our clusters.


===Important Command Line Options===
===Important Command Line Options===
cc_staff
156

edits

Navigation menu