mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
singularity: update file formats, replace shub with scloud (#3267)
This commit is contained in:
parent
cd3a80bffb
commit
ad4c282c75
1 changed files with 7 additions and 7 deletions
|
@ -2,26 +2,26 @@
|
|||
|
||||
> Manage Singularity containers and images.
|
||||
|
||||
- Download a remote image:
|
||||
- Download a remote image from Sylabs Cloud:
|
||||
|
||||
`singularity pull --name {{container.simg}} {{shub://vsoch/hello-world}}`
|
||||
`singularity pull --name {{image.sif}} {{library://godlovedc/funny/lolcow:latest}}`
|
||||
|
||||
- Rebuild a remote image using latest Singularity image format:
|
||||
|
||||
`singularity build {{container.simg}} {{docker://godlovedc/lolcow}}`
|
||||
`singularity build {{image.sif}} {{docker://godlovedc/lolcow}}`
|
||||
|
||||
- Start a container from an image and get a shell inside of it:
|
||||
|
||||
`singularity shell {{container.simg}}`
|
||||
`singularity shell {{image.sif}}`
|
||||
|
||||
- Start a container from an image and run a command:
|
||||
|
||||
`singularity exec {{container.simg}} {{command}}`
|
||||
`singularity exec {{image.sif}} {{command}}`
|
||||
|
||||
- Start a container from an image and execute the internal runscript:
|
||||
|
||||
`singularity run {{container.simg}}`
|
||||
`singularity run {{image.sif}}`
|
||||
|
||||
- Build a singularity image from a recipe file:
|
||||
|
||||
`sudo singularity build {{container.simg}} {{recipe}}`
|
||||
`sudo singularity build {{image.sif}} {{recipe}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue