1apptainer(1)                                                      apptainer(1)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

17       The command apptainer 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                $ apptainer instance start my-sql.sif mysql1
45                $ apptainer instance start my-sql.sif mysql2
46                $ apptainer 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                $ apptainer instance start my-sql.sif mysql1
51
52                Force instance to shutdown
53                $ apptainer instance stop -f mysql1 (may corrupt data)
54
55                Send SIGTERM to the instance
56                $ apptainer instance stop -s SIGTERM mysql1
57                $ apptainer instance stop -s TERM mysql1
58                $ apptainer instance stop -s 15 mysql1
59
60
61
62

SEE ALSO

64       apptainer-instance(1)
65
66
67

HISTORY

69       29-Mar-2023 Auto generated by spf13/cobra
70
71
72
73Auto generated by spf13/cobra      Mar 2023                       apptainer(1)
Impressum