Difference between revisions of "Apptainer"
Moskalenko (talk | contribs) (Created page with "Category:SoftwareCategory:Workflow Automation {|<!--CONFIGURATION: REQUIRED--> |{{#vardefine:app|apptainer}} |{{#vardefine:url|https://apptainer.org/}} <!--CONFIGURATI...") |
Moskalenko (talk | contribs) |
||
Line 45: | Line 45: | ||
[https://apptainer.org/docs/admin/main/ Admin Documentation] | [https://apptainer.org/docs/admin/main/ Admin Documentation] | ||
+ | |||
+ | HiPerGator usage examples: | ||
+ | |||
+ | * Run a container from Docker Hub | ||
+ | $ apptainer run docker://godlovedc/lolcow | ||
+ | The above will result in a lolcow_latest.sif container image creation. You can run the default program from that container with | ||
+ | $ apptainer run lolcow_latest.sif | ||
+ | or execute a particular binary of your choosing with | ||
+ | $ apptainer exec lolcow_latest.sif ls | ||
+ | or even create a shell in the software environment provided by the container with | ||
+ | $ apptainer shell lolcow_latest.sif | ||
+ | |||
+ | See User and Admin documentation for more information on how to create and use HPC containers. | ||
|}} | |}} |
Revision as of 13:17, 6 September 2022
Description
Apptainer/Singularity is the most widely used container system for HPC. It is designed to execute applications at bare-metal performance while being secure, portable, and 100% reproducible.
Apptainer is 100% Docker and OCI (Open Containers Initiative) compatible (but easier to use).
Apptainer intuitively allows non-privileged users to run any containerized application.
The single-file SIF container format allows you to reproducibly build, share, and archive your workload from workstations, to HPC, to the edge. Secure
Apptainer runs "rootless" and prohibits privilege escalation within the container; users are the same inside and outside the container.
Apptainer's security architecture allows you to securely leverage GPUs, FPGAs, high-speed networks, and filesystems.
Environment Modules
Run module spider apptainer
to find out what environment modules are available for this application.
System Variables
- HPC_APPTAINER_DIR - installation directory
Additional Information
HiPerGator usage examples:
- Run a container from Docker Hub
$ apptainer run docker://godlovedc/lolcow
The above will result in a lolcow_latest.sif container image creation. You can run the default program from that container with
$ apptainer run lolcow_latest.sif
or execute a particular binary of your choosing with
$ apptainer exec lolcow_latest.sif ls
or even create a shell in the software environment provided by the container with
$ apptainer shell lolcow_latest.sif
See User and Admin documentation for more information on how to create and use HPC containers.