Scroll to navigation

CONTAINER-TOOLS(7) Open Infrastructure CONTAINER-TOOLS(7)

NAME

container-tools - Manage systemd-nspawn containers

DESCRIPTION

"[A Linux container] is an operating-system-level virtualization environment for running multiple isolated Linux systems (containers) on a single Linux control host."

container-tools provides the system integration for managing containers using systemd-nspawn.

DOWNLOAD

INSTALLATION

SOURCE

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

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.

LINKS

2016-02-24: Systemd vs. Docker

2015-06-10: Systemd and containers

2014-07-07: Control groups

2013-11-13: Systemd-Nspawn is Chroot on Steroids [LinuxCon Europe]

2013-11-03: Creating containers with systemd-nspawn

2013-02-06: Systemd lightweight containers

2013-01-04: Namespaces in operation

AUTHORS

container-tools was written by Daniel Baumann <daniel.baumann@open-infrastructure.net> and others.

20180825 container-tools