singularity instance list

List all running and named Singularity instances

Synopsis

The instance list command allows you to view the Singularity container instances that are currently running in the background.

singularity instance list [list options...] [<instance name glob>]

Examples

$ singularity instance list
INSTANCE NAME      PID       IMAGE
test               11963     /home/mibauer/singularity/sinstance/test.sif
test2              11964     /home/mibauer/singularity/sinstance/test.sif
lolcow             11965     /home/mibauer/singularity/sinstance/lolcow.sif

$ singularity instance list 'test*'
INSTANCE NAME      PID       IMAGE
test               11963     /home/mibauer/singularity/sinstance/test.sif
test2              11964     /home/mibauer/singularity/sinstance/test.sif

$ sudo singularity instance list -u mibauer
INSTANCE NAME      PID       IMAGE
test               11963     /home/mibauer/singularity/sinstance/test.sif
test2              16219     /home/mibauer/singularity/sinstance/test.sif

Options

-h, --help          help for list
-j, --json          print structured json instead of list
-l, --logs          display location of stdout and sterr log files for instances
-u, --user string   if running as root, list instances from "<username>"

SEE ALSO

Auto generated by spf13/cobra on 2-Jul-2021