Debian Codegraph @

share/man/container-stop.1.rst

raw
1 .. Open Infrastructure: compute-tools
2
3 .. Copyright (C) 2014-2026 Daniel Baumann <[email protected]>
4 ..
5 .. SPDX-License-Identifier: GPL-3.0+
6 ..
7 .. This program is free software: you can redistribute it and/or modify
8 .. it under the terms of the GNU General Public License as published by
9 .. the Free Software Foundation, either version 3 of the License, or
10 .. (at your option) any later version.
11 ..
12 .. This program is distributed in the hope that it will be useful,
13 .. but WITHOUT ANY WARRANTY; without even the implied warranty of
14 .. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 .. GNU General Public License for more details.
16 ..
17 .. You should have received a copy of the GNU General Public License
18 .. along with this program. If not, see <https://www.gnu.org/licenses/>.
19
20 ==============
21 container-stop
22 ==============
23
24 ----------------
25 Stop a container
26 ----------------
27
28 :manual section: 1
29 :manual group: Open Infrastructure
30
31 Synopsis
32 ========
33
34 | **container stop** ['OPTIONS']
35 | **cnt t** ['OPTIONS']
36
37 Description
38 ===========
39
40 The **container stop** command stops a container by running the proper shutdown
41 sequence.
42
43 Options
44 =======
45
46 The following **container stop** options are available:
47
48 -n, --name='NAME':
49 Specify container name. Specifying 'ALL' will stop all started container.
50
51 -f, --force:
52 Do not prompt before every stopping.
53
54 -i, --interactive:
55 Prompt before every stopping (default).
56
57 -k, --kill:
58 Instead of running the proper shutdown sequence, terminate all processes of the container imediatly.
59
60 -v, --verbose:
61 Explain what is being done.
62
63 Examples
64 ========
65
66 Shutdown example.net container:
67
68 sudo container stop -n example.net
69
70 Shutdown example.net container without prompting:
71
72 sudo container stop -n example.net -f
73
74 Immediately stop example.net container:
75
76 sudo container stop -n example.net -k
77
78 Stop all container:
79
80 sudo container stop -n ALL
81
82 See also
83 ========
84
85 | compute-tools(7),
86 | container(1).
87
88 Homepage
89 ========
90
91 More information about compute-tools and the Open Infrastructure project can be
92 found on the homepage (https://open-infrastructure.net).
93
94 Contact
95 =======
96
97 Bug reports, feature requests, help, patches, support and everything else are
98 welcome on the Open Infrastructure Software Mailing List
99 <[email protected]>.
100
101 Debian specific bugs can also be reported in the Debian Bug Tracking System
102 (https://bugs.debian.org).
103
104 Authors
105 =======
106
107 compute-tools were written by Daniel Baumann
108 <[email protected]> and others.