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]      stop all user's instances
25
26
27       -F, --force[=false]      force kill instance
28
29
30       -h, --help[=false]      help for stop
31
32
33       -s, --signal=""      signal sent to the instance
34
35
36       -t, --timeout=10      force kill non stopped instances after X seconds
37
38
39       -u, --user=""      if running as root, stop instances belonging to user
40
41
42

EXAMPLE

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

SEE ALSO

64       singularity-instance(1)
65
66
67

HISTORY

69       26-May-2021 Auto generated by spf13/cobra
70
71
72
73Auto generated by spf13/cobra      May 2021                     singularity(1)
Impressum