blob: f1c04e59949f50e5a218c3f1cea9ab0a0c5d7da5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
Open Infrastructure: container-tools
====================================
1. Description
--------------
"[A Linux Container] is an operating-system-level virtualization environment
for running multiple isolated Linux systems (containers) on a single Linux
control host."
-- Wikipedia (https://en.wikipedia.org/wiki/LXC)
container-tools provides the integration for Debian based Containers using
systemd-nspawn.
2. Download
-----------
* https://github.com/open-infrastructure/container-tools
3. Usage
--------
* Create a new container:
sudo container create -n NAME
* Start a container:
sudo container start -n NAME
* Restart a container:
sudo container restart -n NAME
* Stop a container:
sudo container stop -n NAME
* Remove a container:
sudo container remove -n NAME
* Attach console to a container:
sudo container console -n NAME
* List container on the system:
sudo container list
* Show container-tools version:
container version
4. Links
--------
* 2016-02-24: Systemd vs. Docker
https://lwn.net/Articles/676831/
* 2015-06-10: Systemd and containers
https://lwn.net/Articles/647634/
* 2014-07-07: Control groups
https://lwn.net/Articles/604609/
* 2013-11-13: Systemd-Nspawn is Chroot on Steroids [LinuxCon Europe]
https://www.youtube.com/watch?v=s7LlUs5D9p4
* 2013-11-03: Creating containers with systemd-nspawn
https://lwn.net/Articles/572957/
* 2013-02-06: Systemd lightweight containers
https://lwn.net/Articles/536033/
* 2013-01-04: Namespaces in operation
https://lwn.net/Articles/531114/
5. Authors
----------
* Daniel Baumann <daniel.baumann@open-infrastructure.net>
|