openstack-ansible/doc/source/install-guide/overview-lxc.rst
kevin f9f907732e Port basic installation guide
Convert RPC installation guide from DocBook to RST,
remove content specific to Rackspace, and create initial
OSAD installation guide.

Change-Id: I3eedadc8ba441b4d931720dd6e3f7f3489302a9c
Co-Authored-By: Matt Kassawara <mkassawara@gmail.com>
2015-06-11 09:17:56 -05:00

1.6 KiB

Home OpenStack Ansible Installation Guide

Linux Containers (LXC)

Containers provide operating-system level virtualization by enhancing the concept of chroot environments, which isolate resources and file systems for a particular group of processes without the overhead and complexity of virtual machines. They access the same kernel, devices, and file systems on the underlying host and provide a thin operational layer built around a set of rules.

The Linux Containers (LXC) project implements operating system level virtualization on Linux using kernel namespaces and includes the following features:

  • Resource isolation including CPU, memory, block I/O, and network using cgroups.
  • Selective connectivity to physical and virtual network devices on the underlying physical host.
  • Support for a variety of backing stores including LVM.
  • Built on a foundation of stable Linux technologies with an active development and support community.

Useful commands:

  • List containers and summary information such as operational state and network configuration:

    # lxc-ls --fancy
  • Show container details including operational state, resource utilization, and veth pairs:

    # lxc-info --name container_name
  • Start a container:

    # lxc-start --name container_name
  • Attach to a container:

    # lxc-attach --name container_name
  • Stop a container:

    # lxc-stop --name container_name