Debian Codegraph @

share/man/container.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
22 =========
23
24 --------------------------------
25 Manage systemd-nspawn containers
26 --------------------------------
27
28 :manual section: 1
29 :manual group: Open Infrastructure
30
31 Synopsis
32 ========
33
34 | **container** 'COMMAND' ['OPTIONS']
35 | **container** 'COMMAND1','COMMAND2',... 'COMMANDn'
36
37 Description
38 ===========
39
40 compute-tools provides the system integration for managing containers using
41 systemd-nspawn.
42
43 Options
44 =======
45
46 The following **container** common options are available:
47
48 -n, --name='NAME':
49 Specify container name.
50
51 Commands
52 ========
53
54 The following **container** commands are available:
55
56 build:
57 Build a new container, see container-build(1).
58
59 start:
60 Start a container, see container-start(1).
61
62 rebuild:
63 Rebuild a container, see container-rebuild(1).
64
65 restart:
66 Restart a container, see container-restart(1).
67
68 stop:
69 Stop a container, see container-stop(1).
70
71 remove:
72 Remove a container, see container-remove(1).
73
74 move:
75 Rename a container, see container-move(1).
76
77 console:
78 Attach console to a container, see container-console(1).
79
80 enter:
81 Enter a container namespace, see container-enter(1).
82
83 run:
84 Execute commands in a container namespace, see container-run(1).
85
86 info:
87 Show specific information of a container, see container-info(1).
88
89 key:
90 Manage GnuPG keyring for container operations, see container-key(1).
91
92 limit:
93 Limit resources of a container, see container-limit(1).
94
95 list:
96 List container on the system, see container-list(1).
97
98 log:
99 Show container log, see container-log(1).
100
101 status:
102 Show container status, see container-status(1).
103
104 top:
105 Dynamic list of container on the system, see container-top(1).
106
107 update:
108 Update the packages installed in a container.
109
110 version:
111 Show container version, see container-version(1).
112
113 Files
114 =====
115
116 The following files are used:
117
118 /etc/compute-tools/container.conf, /etc/compute-tools/container.conf.d/\*.conf:
119 Container configuration files.
120
121 /usr/bin/container, /usr/bin/cnt:
122 Container program.
123
124 /usr/bin/container-shell, /usr/bin/cntsh:
125 Container shell program.
126
127 /usr/libexec/container:
128 Container commands.
129
130 /usr/share/compute-tools/:
131 Container shared data.
132
133 /usr/share/doc/compute-tools:
134 Container documentation files.
135
136 /var/cache/container:
137 Container cache directory.
138
139 /var/lib/machines:
140 Container root directory.
141
142 /var/log/compute-tools:
143 Container log files.
144
145 See also
146 ========
147
148 | machinectl(1),
149 | systemd-nspawn(1).
150
151 Homepage
152 ========
153
154 More information about compute-tools and the Open Infrastructure project can be
155 found on the homepage (https://open-infrastructure.net).
156
157 Contact
158 =======
159
160 Bug reports, feature requests, help, patches, support and everything else are
161 welcome on the Open Infrastructure Software Mailing List
162 <[email protected]>.
163
164 Debian specific bugs can also be reported in the Debian Bug Tracking System
165 (https://bugs.debian.org).
166
167 Authors
168 =======
169
170 compute-tools were written by Daniel Baumann
171 <[email protected]> and others.