This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:lxc [2014-07-07 10:12] matkor [network using macvlan in bridge mode] |
docs:lxc [2016-08-21 00:36] (current) glen [LXC - Linux Container Tools] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== LXC - Linux Container Tools ====== | ====== LXC - Linux Container Tools ====== | ||
- | LXC is a tool to create and manage containers. It contains a full featured container with the isolation / virtualization of the pids, the ipc, the utsname, the mount points, /proc, /sys, the network and it takes into account the control groups. It is very light, flexible, and provides a set of tools around the container like the monitoring with asynchronous events notification, or the freeze of the container. This package is useful to create Virtual Private Server, or to run isolated applications like bash or sshd. | + | [[https://linuxcontainers.org/lxc/|LXC]] is a tool to create and manage containers. It contains a full featured container with the isolation / virtualization of the pids, the ipc, the utsname, the mount points, /proc, /sys, the network and it takes into account the control groups. It is very light, flexible, and provides a set of tools around the container like the monitoring with asynchronous events notification, or the freeze of the container. This package is useful to create Virtual Private Server, or to run isolated applications like bash or sshd. |
+ | |||
+ | LXC is pretty low level, very flexible and covers just about every containment feature supported by the upstream kernel. For a completely fresh and intuitive user experience with a single command line tool to manage your containers see [[LXD]]. | ||
**Resources** | **Resources** | ||
- | * [[http://linuxcontainers.org/|LXC Project homepage]] | ||
* [[https://www.stgraber.org/2013/12/20/lxc-1-0-blog-post-series/|LXC 1.0 blog post series]] - must read to get quick overview what's out there | * [[https://www.stgraber.org/2013/12/20/lxc-1-0-blog-post-series/|LXC 1.0 blog post series]] - must read to get quick overview what's out there | ||
* [[http://lists.linuxfoundation.org/mailman/listinfo/containers|Linux Containers mailing list]] | * [[http://lists.linuxfoundation.org/mailman/listinfo/containers|Linux Containers mailing list]] | ||
Line 27: | Line 28: | ||
* http://www.paul.sladen.org/vserver/archives/201402/0015.html | * http://www.paul.sladen.org/vserver/archives/201402/0015.html | ||
</note> | </note> | ||
+ | |||
===== Guest creation ===== | ===== Guest creation ===== | ||
Line 70: | Line 72: | ||
===== Common problems / Useful tricks ===== | ===== Common problems / Useful tricks ===== | ||
+ | |||
+ | ==== lxc-start has no output ==== | ||
+ | |||
+ | In case ''lxc-start -n test'' produces no output, ensure /dev/console is present in guest filesystem. | ||
==== lxc-stop is not graceful ==== | ==== lxc-stop is not graceful ==== |