LXC is included in most Linux distributions. In most cases installing it is as simple as selecting it in your package manager.
Distributions also often provide backports of newer versions of LXC for their stable releases. You may want to look for that, especially if your distribution doesn't include LXC 2.0 or 3.0.
For production environment, try to stick to LXC 2.0.x or 3.0.x as these are the long term, stable releases which we will support until June 2021 (2.0.x) and June 2023 (3.0.x) respectively.
For Ubuntu users, we have official PPAs for LXC:
And for those who want development snapshots:
- lxc-git-master: "master" branch
- lxc-git-stable-2.0: "stable-2.0" branch
- lxc-git-stable-3.0: "stable-3.0" branch
Current development version¶
LXC has four active git branches:
- master: Current development branch
- stable-2.0: Stable update branch for LXC 2.0.x
- stable-3.0: Stable update branch for LXC 3.0.x
You can clone those directly with:
git clone git://github.com/lxc/lxc -b <branch name>
Stable release tarballs are available for download below. All the tarballs are GPG signed by one of the maintainers.