compute-tools - Manage systemd-nspawn containers
1. Description
compute-tools provides the system integration for managing containers using systemd-nspawn."[A Linux container] is an operating-system-level virtualization environment for running multiple isolated Linux systems (containers) on a single Linux control host."
2. Download
- Upstream Releases: https://get.open-infrastructure.net/software/compute-tools/upstream
- Upstream Sources: https://git.open-infrastructure.net/software/compute-tools
- Debian Releases: https://get.open-infrastructure.net/software/compute-tools/debian
- Debian Sources: https://git.progress-linux.org/users/daniel.baumann/debian/packages/open-infrastructure-compute-tools
3. Installation
3.1 Source
- sudo apt install git build-essential debhelper python3-docutils
- git clone https://git.open-infrastructure.net/software/compute-tools
- cd compute-tools && sudo make install
3.2 Debian 9 (stretch) and newer
- sudo apt install container-tools
3.3 Ubuntu 16.10 (yakkety) and newer
- sudo apt install container-tools
4. Usage
- Create a new container:
sudo container create -n NAME - Start a container:
sudo container start -n NAME - Stop a container:
sudo container stop -n NAME - Remove a container:
sudo container remove -n NAME - List container on the system:
sudo container list - Show compute-tools version:
container version
See manpages for a list of all container commands.
5. Development
Bug reports, feature requests, help, patches, support and everything else are welcome on the Open Infrastructure Software Mailing List.
Please base them against the 'next' Git branch using common sense.
Debian specific bugs can also be reported in the Debian Bug Tracking System.
See TODO for a list of items to work on.
6. Known limitations
- using overlay, the upper directory can not be an NFS mount due to limitations in Linux' overlay filesystem.
7. Links
- 2016-02-24: Systemd vs. Docker [lwn.net]
- 2015-06-10: Systemd and containers [lwn.net]
- 2014-07-07: Control groups [lwn.net]
- 2013-11-13: Systemd-Nspawn is Chroot on Steroids [LinuxCon Europe]
- 2013-11-03: Creating containers with systemd-nspawn [lwn.net]
- 2013-02-06: Systemd lightweight containers [lwn.net]
- 2013-01-04: Namespaces in operation [lwn.net]