Debian Codegraph @

share/man/compute-tools.7.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 compute-tools
22 =============
23
24 --------------------------------
25 Manage systemd-nspawn containers
26 --------------------------------
27
28 :manual section: 7
29 :manual group: Open Infrastructure
30
31 Description
32 ===========
33
34 [A Linux container] is an operating-system-level virtualization environment for
35 running multiple isolated Linux systems (containers) on a single Linux control
36 host.
37
38 -- Wikipedia (https://en.wikipedia.org/wiki/LXC)
39
40 **compute-tools** provides the system integration for managing containers using
41 systemd-nspawn(1).
42
43 Download
44 ========
45
46 | Upstream Releases:
47 | https://get.open-infrastructure.net/software/compute-tools/upstream
48
49 | Upstream Sources:
50 | https://git.open-infrastructure.net/software/compute-tools
51
52 | Debian Releases:
53 | https://get.open-infrastructure.net/software/compute-tools/debian
54
55 | Debian Sources:
56 | https://git.progress-linux.org/users/daniel/debian/packages/open-infrastructure-compute-tools
57
58 Installation
59 ============
60
61 Source
62 ------
63
64 | $ sudo apt install git make python3-docutils dbus systemd-container
65 | $ git clone https://git.open-infrastructure.net/software/compute-tools
66 | $ cd compute-tools && sudo make install
67
68 Debian 9 (stretch) and newer
69 ----------------------------
70
71 | $ sudo apt install compute-tools
72
73 Development
74 ===========
75
76 Bug reports, feature requests, help, patches, support and everything else are
77 welcome on the Open Infrastructure Software Mailing List
78 (https://lists.open-infrastructure.net/listinfo/software).
79
80 Please base patches against the 'next' Git branch using common sense
81 (https://www.kernel.org/doc/Documentation/SubmittingPatches).
82
83 Debian specific bugs can also be reported in the Debian Bug Tracking System
84 (https://bugs.debian.org).
85
86 Known limitations
87 =================
88
89 This version of compute-tools currently do not work with systemd-networkd and
90 depend on ifupdown.
91
92 Using overlay, the upper directory can not be an NFS mount due to limitations in
93 Linux' overlay filesystem
94 (https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/filesystems/overlayfs.txt).
95
96 Usage
97 =====
98
99 Build a new container:
100 sudo container build -n NAME
101
102 Start a container:
103 sudo container start -n NAME
104
105 Stop a container:
106 sudo container stop -n NAME
107
108 Remove a container:
109 sudo container remove -n NAME
110
111 List container on the system:
112 sudo container list
113
114 Show container version:
115 container version
116
117 See container(1) for a list of all container commands.
118
119 Links
120 =====
121
122 | * Linux Weekly News: Kernel / Containers
123 | (https://lwn.net/Kernel/Index/#Containers)
124
125 | * Linux Weekly News: Security / Containers
126 | (https://lwn.net/Security/Index/#Containers)
127
128 | * 2016-02-24: Systemd vs. Docker
129 | (https://lwn.net/Articles/676831/)
130
131 | * 2015-06-10: Systemd and containers
132 | (https://lwn.net/Articles/647634/)
133
134 | * 2014-07-07: Control groups
135 | (https://lwn.net/Articles/604609/)
136
137 | * 2013-11-13: Systemd-Nspawn is Chroot on Steroids [LinuxCon Europe]
138 | (https://www.youtube.com/watch?v=s7LlUs5D9p4)
139
140 | * 2013-11-03: Creating containers with systemd-nspawn
141 | (https://lwn.net/Articles/572957/)
142
143 | * 2013-02-06: Systemd lightweight containers
144 | (https://lwn.net/Articles/536033/)
145
146 | * 2013-01-04: Namespaces in operation
147 | (https://lwn.net/Articles/531114/)
148
149 Authors
150 =======
151
152 compute-tools were written by Daniel Baumann
153 <[email protected]> and others.