mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 00:49:18 +00:00
Update cheatsheets
This commit is contained in:
33
singularity
Normal file
33
singularity
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# singularity
|
||||
|
||||
> Manage Singularity containers and images.
|
||||
> More information: <https://singularity-docs.readthedocs.io/en/latest/#commands>.
|
||||
|
||||
- Download a remote image from Sylabs Cloud:
|
||||
|
||||
`singularity pull --name {{image.sif}} {{library://godlovedc/funny/lolcow:latest}}`
|
||||
|
||||
- Rebuild a remote image using the latest Singularity image format:
|
||||
|
||||
`singularity build {{image.sif}} {{docker://godlovedc/lolcow}}`
|
||||
|
||||
- Start a container from an image and get a shell inside it:
|
||||
|
||||
`singularity shell {{image.sif}}`
|
||||
|
||||
- Start a container from an image and run a command:
|
||||
|
||||
`singularity exec {{image.sif}} {{command}}`
|
||||
|
||||
- Start a container from an image and execute the internal runscript:
|
||||
|
||||
`singularity run {{image.sif}}`
|
||||
|
||||
- Build a singularity image from a recipe file:
|
||||
|
||||
`sudo singularity build {{image.sif}} {{recipe}}`
|
||||
Reference in New Issue
Block a user