Repo of the Day
lxc/incus
Published: Nov 29, 2026
Open repository ↗Powerful system container and virtual machine manager
Summary
Incus is a system container and virtual machine manager, written in Go, that runs complete Linux systems inside containers or VMs through one unified interface. It is built around a REST API and scales from a single instance on one machine to a cluster across a data center rack. The project started as a community fork of Canonical's LXD and is released under the Apache 2.0 license with no CLA.
What it is useful for
- Isolated development environments. Engineers can spin up throwaway Linux systems instead of installing and reconfiguring dependencies directly on a laptop or shared build host.
- Container and VM choice in one tool. The same manager handles both system containers and virtual machines, so a workload can move between the two without switching tools.
- Multiple distributions. Incus supports images for a large number of Linux distributions, including official Ubuntu images and community-provided ones, which helps when a project needs more than one distro.
- A small private cloud. For teams that want to manage their own infrastructure rather than depend on a hosted provider, Incus offers instance management, networking, and storage on hardware they control.
- Automation. Because everything is exposed through a REST API, the manager can be driven from scripts or a Go program rather than only from the command line.
How engineers can use it
The README does not include installation commands, so start with the project's Getting started guide, which covers installation and first steps; packaged builds and release tarballs are listed on the releases page. If you only want to see how it behaves, there is a browser-based demo at linuxcontainers.org/incus/try-it/.
For programmatic use, the README points to Go documentation for the github.com/lxc/incus/v7/client package on Godoc, which is the client library for talking to the API from Go code. Full reference material lives in the repository's doc/ directory and at linuxcontainers.org/incus/docs/main/.
Plan for security from the start, because the README calls out two hard limits: local access to the Incus Unix socket always grants full access to Incus, including attaching filesystems or devices to instances and changing their security settings, so treat socket access as root-equivalent. The README also recommends restricting access to the daemon and remote API, avoiding privileged containers unless required, keeping the operating system patched, using only supported Incus versions, and configuring network interfaces securely.
Community discussion and bug reports happen on discuss.linuxcontainers.org and the issue tracker; commercial support is available from Zabbly for its Debian and Ubuntu packages.