2021-11-26 17:34:48 +01:00
[](https://linuxcontainers.org/lxd)
2022-02-08 10:21:05 +01:00
<!-- Include start LXD intro -->
2021-11-26 17:34:48 +01:00
# LXD
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 ](https://images.linuxcontainers.org )
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 ](https://linuxcontainers.org/lxd/try-it/ )!
Then if you want to run it locally, take a look at our [getting started guide ](https://linuxcontainers.org/lxd/getting-started-cli/ ).
2022-07-13 18:10:37 +02:00
- Release announcements: [`https://linuxcontainers.org/lxd/news/` ](https://linuxcontainers.org/lxd/news/ )
- Release tarballs: [`https://linuxcontainers.org/lxd/downloads/` ](https://linuxcontainers.org/lxd/downloads/ )
- Documentation: [`https://linuxcontainers.org/lxd/docs/latest/` ](https://linuxcontainers.org/lxd/docs/latest/ )
2021-11-26 17:34:48 +01:00
2022-01-04 15:29:22 +01:00
<!-- Include end LXD intro -->
2021-11-26 17:34:48 +01:00
## Status
Type | Service | Status
--- | --- | ---
CI (client) | GitHub | [](https://github.com/lxc/lxd/actions)
CI (server) | Jenkins | [](https://jenkins.linuxcontainers.org/job/lxd-github-commit/)
Go documentation | Godoc | [](https://godoc.org/github.com/lxc/lxd/client)
Static analysis | GoReport | [](https://goreportcard.com/report/github.com/lxc/lxd)
Translations | Weblate | [](https://hosted.weblate.org/projects/linux-containers/lxd/)
Project status | CII Best Practices | [](https://bestpractices.coreinfrastructure.org/projects/1086)
2022-01-04 15:29:22 +01:00
<!-- Include start installing -->
2021-11-26 17:34:48 +01:00
## Installing LXD from packages
The LXD daemon only works on Linux but the client tool (`lxc` ) is available on most platforms.
OS | Format | Command
--- | --- | ---
2022-07-13 18:10:37 +02:00
Linux | [Snap ](https://snapcraft.io/lxd ) | `snap install lxd`
Windows | [Chocolatey ](https://chocolatey.org/packages/lxc ) | `choco install lxc`
macOS | [Homebrew ](https://formulae.brew.sh/formula/lxc ) | `brew install lxc`
2021-11-26 17:34:48 +01:00
More instructions on installing LXD for a wide variety of Linux distributions and operating systems [can be found on our website ](https://linuxcontainers.org/lxd/getting-started-cli/ ).
2022-01-04 15:29:22 +01:00
<!-- Include end installing -->
2021-11-26 17:34:48 +01:00
2022-04-08 11:59:01 -04:00
To install LXD from source, see [Installing LXD ](https://linuxcontainers.org/lxd/docs/latest/installing/ ) in the documentation.
2021-11-26 17:34:48 +01:00
## Security
2022-01-13 09:39:13 +01:00
<!-- Include start security -->
2021-11-26 17:34:48 +01:00
2022-01-13 09:39:13 +01:00
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 ](https://linuxcontainers.org/lxc/security/ ) for more information.
- Configure your network interfaces to be secure.
2022-01-04 15:29:22 +01:00
<!-- Include end security -->
2021-11-26 17:34:48 +01:00
2022-04-08 11:59:01 -04:00
See [Security ](https://linuxcontainers.org/lxd/docs/latest/security/ ) for detailed information.
2022-01-13 09:39:13 +01:00
**IMPORTANT:**
<!-- Include start security note -->
2022-07-13 18:10:37 +02:00
Local access to LXD through the Unix socket always grants full access to LXD.
2022-01-13 09:39:13 +01:00
This includes the ability to attach file system paths or devices to any instance as well as tweak the security features on any instance.
2021-11-26 17:34:48 +01:00
2022-01-13 09:39:13 +01:00
Therefore, you should only give such access to users who you'd trust with root access to your system.
<!-- Include end security note -->
2022-01-04 15:29:22 +01:00
<!-- Include start support -->
2021-11-26 17:34:48 +01:00
## Support and community
The following channels are available for you to interact with the LXD community.
### Bug reports
2022-07-13 18:10:37 +02:00
You can file bug reports and feature requests at: [`https://github.com/lxc/lxd/issues/new` ](https://github.com/lxc/lxd/issues/new )
2021-11-26 17:34:48 +01:00
### Forum
2022-07-13 18:10:37 +02:00
A discussion forum is available at: [`https://discuss.linuxcontainers.org` ](https://discuss.linuxcontainers.org )
2021-11-26 17:34:48 +01:00
2022-01-19 10:28:41 +01:00
### Mailing lists
2021-11-26 17:34:48 +01:00
We use the LXC mailing lists for developer and user discussions. You can
2022-07-13 18:10:37 +02:00
find and subscribe to those at: [`https://lists.linuxcontainers.org` ](https://lists.linuxcontainers.org )
2021-11-26 17:34:48 +01:00
### IRC
2022-07-13 18:10:37 +02:00
If you prefer live discussions, you can find us in [`#lxc` ](https://kiwiirc.com/client/irc.libera.chat/#lxc ) on `irc.libera.chat` . See [Getting started with IRC ](https://discuss.linuxcontainers.org/t/getting-started-with-irc/11920 ) if needed.
2021-11-26 17:34:48 +01:00
2022-01-19 10:30:31 +01:00
### Commercial support
Commercial support for LXD can be obtained through [Canonical Ltd ](https://www.canonical.com ).
## Documentation
2022-07-13 18:10:37 +02:00
The official documentation is available at: [`https://linuxcontainers.org/lxd/docs/latest/` ](https://linuxcontainers.org/lxd/docs/latest/ )
2022-01-19 10:30:31 +01:00
You can find additional resources on the [website ](https://linuxcontainers.org/lxd/articles ), on [YouTube ](https://www.youtube.com/channel/UCuP6xPt0WTeZu32CkQPpbvA ) and in the [Tutorials section ](https://discuss.linuxcontainers.org/c/tutorials/ ) in the forum.
<!-- Include end support -->
2021-11-26 17:34:48 +01:00
## Contributing
2022-01-19 10:30:31 +01:00
Fixes and new features are greatly appreciated. Make sure to read our [contributing guidelines ](CONTRIBUTING.md ) first!