1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 12:35:24 +02:00

singularity: add page (#1889)

This commit is contained in:
Starbeamrainbowlabs 2018-01-13 22:00:23 +00:00 committed by GitHub
commit fd7f4e29cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,27 @@
# singularity
> Manage Singularity containers and images.
- Download a remote image:
`singularity pull --name {{container.simg}} {{shub://vsoch/hello-world}}`
- Rebuild a remote image using latest Singularity image format:
`singularity build {{container.simg}} {{docker://godlovedc/lolcow}}`
- Start a container from an image and get a shell inside of it:
`singularity shell {{container.simg}}`
- Start a container from an image and run a command:
`singularity exec {{container.simg}} {{command}}`
- Start a container from an image and execute the internal runscript:
`singularity run {{container.simg}}`
- Build a singularity image from a recipe file:
`sudo singularity build {{container.simg}} {{recipe}}`