Apptainer: Difference between revisions

Line 279: Line 279:
===Building a Sandbox Image===
===Building a Sandbox Image===


'''NOTE:''' Please note and heed the advice given [[#When_Building_Images.2FOverlays|earlier on this page]].
'''NOTE:''' Please note and heed the advice concerning building images/overlays given [[#When_Building_Images.2FOverlays|earlier on this page]].


In order to build a "sandbox" directory instead of an <code>SIF</code> file instead of providing an <code>SIF</code> file name, instead provide <code>--sandbox DIR_NAME</code> or <code>-s DIR_NAME</code> where <code>DIR_NAME</code> is the name of the to-be-created-directory where you want your "sandbox" image. For example, if the <code>apptainer build</code> command to create an <code>SIF</code> file was:
In order to build a "sandbox" directory instead of an <code>SIF</code> file instead of providing an <code>SIF</code> file name, instead provide <code>--sandbox DIR_NAME</code> or <code>-s DIR_NAME</code> where <code>DIR_NAME</code> is the name of the to-be-created-directory where you want your "sandbox" image. For example, if the <code>apptainer build</code> command to create an <code>SIF</code> file was:
Line 295: Line 295:
===Building an SIF Image===
===Building an SIF Image===


'''NOTE:''' Please note and heed the advice given [[#When_Building_Images.2FOverlays|earlier on this page]].
'''NOTE:''' Please note and heed the advice concerning building images/overlays given [[#When_Building_Images.2FOverlays|earlier on this page]].


'''NOTE:''' This section only discusses some basics of creating a simple compressed, read-only <code>SIF</code> file container image. See the [https://apptainer.org/docs Apptainer documentation] for more advanced aspects of building images.
'''NOTE:''' This section only discusses some basics of creating a simple compressed, read-only <code>SIF</code> file container image. See the [https://apptainer.org/docs Apptainer documentation] for more advanced aspects of building images.
cc_staff
156

edits