1singularity(1)                                                  singularity(1)
2
3
4

NAME

6       singularity-instance-stop - Stop a named instance of a given container
7       image
8
9
10

SYNOPSIS

12       singularity instance stop [stop options...] [instance]
13
14
15

DESCRIPTION

17       The command singularity instance stop allows you to stop and clean up a
18       named,
19         running instance of a given container image.
20
21
22

OPTIONS

24       -a, --all[=false]
25           stop all user's instances
26
27
28       -F, --force[=false]
29           force kill instance
30
31
32       -h, --help[=false]
33           help for stop
34
35
36       -s, --signal=""
37           signal sent to the instance
38
39
40       -t, --timeout=10
41           force kill non stopped instances after X seconds
42
43
44       -u, --user=""
45           if running as root, list instances from "<username>"
46
47
48

EXAMPLE

50                $ singularity instance start my-sql.sif mysql1
51                $ singularity instance start my-sql.sif mysql2
52                $ singularity instance stop mysql*
53                Stopping mysql1 instance of my-sql.sif (PID=23845)
54                Stopping mysql2 instance of my-sql.sif (PID=23858)
55
56                $ singularity instance start my-sql.sif mysql1
57
58                Force instance to shutdown
59                $ singularity instance stop -f mysql1 (may corrupt data)
60
61                Send SIGTERM to the instance
62                $ singularity instance stop -s SIGTERM mysql1
63                $ singularity instance stop -s TERM mysql1
64                $ singularity instance stop -s 15 mysql1
65
66
67
68

SEE ALSO

70       singularity-instance(1)
71
72
73

HISTORY

75       29-May-2019 Auto generated by spf13/cobra
76
77
78
79Auto generated by spf13/cobra      May 2019                     singularity(1)
Impressum