LXD is a next generation system container and virtual machine manager. It offers a unified user experience around full Linux systems running inside containers or virtual machines.
It's image based with pre-made images available for a wide number of Linux distributions and is built around a very powerful, yet pretty simple, REST API.
To get a better idea of what LXD is and what it does, you can try it online! Then if you want to run it locally, take a look at our getting started guide.
- Release announcements: https://linuxcontainers.org/lxd/news/
- Release tarballs: https://linuxcontainers.org/lxd/downloads/
- Documentation: https://linuxcontainers.org/lxd/docs/master/
Type | Service | Status |
---|---|---|
CI (client) | GitHub | |
CI (server) | Jenkins | |
Go documentation | Godoc | |
Static analysis | GoReport | |
Translations | Weblate | |
Project status | CII Best Practices |
The LXD daemon only works on Linux but the client tool (lxc
) is available on most platforms.
OS | Format | Command |
---|---|---|
Linux | Snap | snap install lxd |
Windows | Chocolatey | choco install lxc |
MacOS | Homebrew | brew install lxc |
More instructions on installing LXD for a wide variety of Linux distributions and operating systems can be found on our website.
To install LXD from source, see Installing LXD in the documentation.
Consider the following aspects to ensure that your LXD installation is secure:
- Keep your operating system up-to-date and install all available security patches.
- Use only supported LXD versions (LTS releases or monthly feature releases).
- Restrict access to the LXD daemon and the remote API.
- Do not use privileged containers unless required. If you use privileged containers, put appropriate security measures in place. See the LXC security page for more information.
- Configure your network interfaces to be secure.
See Security for detailed information.
IMPORTANT:
Local access to LXD through the UNIX socket always grants full access to LXD. This includes the ability to attach file system paths or devices to any instance as well as tweak the security features on any instance.
Therefore, you should only give such access to users who you'd trust with root access to your system.
The following channels are available for you to interact with the LXD community.
You can file bug reports and feature requests at: https://github.com/lxc/lxd/issues/new
A discussion forum is available at: https://discuss.linuxcontainers.org
We use the LXC mailing lists for developer and user discussions. You can find and subscribe to those at: https://lists.linuxcontainers.org
If you prefer live discussions, you can find us in #lxc on irc.libera.chat. See Getting started with IRC if needed.
Commercial support for LXD can be obtained through Canonical Ltd.
The official documentation is available at: https://linuxcontainers.org/lxd/docs/master/
You can find additional resources on the website, on YouTube and in the Tutorials section in the forum.
Fixes and new features are greatly appreciated. Make sure to read our contributing guidelines first!