carta
container-tools(7)

container-tools7

Manage systemd-nspawn containers

Overview

"[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 system integration for managing containers using systemd-nspawn.

Download

• Upstream Releases: https://files.open-infrastructure.net/software/container-tools/upstream

• Upstream Sources: https://sources.open-infrastructure.net/software/container-tools

• Debian Releases: https://files.open-infrastructure.net/software/container-tools/debian

• Debian Sources: https://sources.progress-linux.org/users/daniel/debian/packages/open-infrastructure-container-tools

Installation

Source

1. sudo apt install asciidoc git docbook-xml docbook-xsl libxml2-utils make xsltproc dbus systemd-container

2. git clone https://sources.open-infrastructure.net/software/container-tools

3. cd container-tools && sudo make install

Debian 9 (stretch) and newer

• sudo apt install container-tools

Development

Bug reports, feature requests, help, patches, support and everything else are welcome on the Open Infrastructure Software Mailing List:

• https://lists.open-infrastructure.net/listinfo/software

Please base patches against the next Git branch using common sense:

• https://www.kernel.org/doc/Documentation/SubmittingPatches

Debian specific bugs can also be reported in the Debian Bug Tracking System:

• https://bugs.debian.org

Known limitations

• This version of container-tools currently do not work with systemd-networkd and depend on ifupdown.

• Using overlay, the upper directory can not be an NFS mount due to limitations in Linux' overlay filesystem, see https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/filesystems/overlayfs.txt

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 container-tools version:

container version

See container(1) for a list of all container commands.

Authors

• Daniel Baumann <[email protected]>

From open-infrastructure-container-tools 20161101-lts2-2 in Debian 9 (Stretch). Parsed by carta from the page's man source.