f9f907732e
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>
65 lines
1.6 KiB
ReStructuredText
65 lines
1.6 KiB
ReStructuredText
`Home <index.html>`__ 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:
|
|
|
|
.. code-block:: bash
|
|
|
|
# lxc-ls --fancy
|
|
|
|
- Show container details including operational state, resource
|
|
utilization, and ``veth`` pairs:
|
|
|
|
.. code-block:: bash
|
|
|
|
# lxc-info --name container_name
|
|
|
|
- Start a container:
|
|
|
|
.. code-block:: bash
|
|
|
|
# lxc-start --name container_name
|
|
|
|
- Attach to a container:
|
|
|
|
.. code-block:: bash
|
|
|
|
# lxc-attach --name container_name
|
|
|
|
- Stop a container:
|
|
|
|
.. code-block:: bash
|
|
|
|
# lxc-stop --name container_name
|
|
|
|
--------------
|
|
|
|
.. include:: navigation.txt
|