Next-generation system container, application container and virtual machine manager
open sourceApache-2.0self-hostablefree
Forked from LXD in 2023. Aleksa Sarai forked LXD right after Canonical took it away from the Linux Containers project in July 2023; Linux Containers adopted the fork in August 2023 as a fully community-led alternative that can also correct LXD mistakes that needed breaking changes
Incus is a manager for system containers, application containers and virtual machines on Linux, run by the Linux Containers project. Its daemon runs full Linux distributions in LXC system containers or QEMU virtual machines from a catalogue of images published daily, and also runs OCI application containers from registries such as Docker Hub, all sharing the same storage pools and networks. You drive it with the incus command line client (also on macOS and Windows), its REST API or a web UI, from one laptop up to a cluster, with projects, profiles, snapshots, instance migration and storage backends including ZFS, Btrfs, LVM and Ceph. Aleksa Sarai forked it from LXD in 2023 after Canonical took LXD out of the Linux Containers community; it is Apache 2.0 licensed with no CLA, maintained by much of the team that created LXD, and its LTS releases get five years of support.
Ways to install
On your own server
Package managers
Problems it solves
- run full Linux distributions as lightweight containers that behave like VMs, with systemd and SSH inside
- mix containers and virtual machines on one host and manage both with the same commands
- spin up a fresh Debian, Alpine or Fedora machine in seconds from ready-made images to test my software
- keep an LXD-style container manager under a permissive licence without Canonical's CLA
- cluster a few servers into a small private cloud for containers and VMs without OpenStack
- give each team its own isolated set of instances, images, profiles and networks on shared hosts
- run Docker Hub images next to my system containers without installing Docker
- snapshot a container before an upgrade and roll it back if something breaks
- move a container or VM to another server without rebuilding it
- pass a GPU, USB device or network card through to a container or virtual machine
- limit CPU, memory, disk and network I/O for each container on a shared server
- manage Linux containers on a remote server from my Mac or Windows laptop
- create containers and VMs from our own tooling through a REST API
- log in to our container hosts with our OpenID Connect provider and fine-grained OpenFGA permissions
- back container and VM disks with ZFS, Btrfs, LVM, Ceph or LINSTOR storage pools
- connect containers on different hosts with overlay networks using OVN
- run unprivileged containers so a compromised one can't take over the host
- turn my existing hand-made LXC containers into managed instances
- import an existing physical machine or VM disk into a container and VM host
- a container and VM manager with LTS releases supported for five years for production servers
- configure many containers the same way with reusable profiles and cloud-init
- back up and restore every container, volume and configuration object on a virtualization host
Features
- system containers (LXC), application containers (OCI images from registries such as Docker Hub) and QEMU virtual machines
- image based, with images for a wide range of Linux distributions published daily
- one REST API for local and remote access, with events for logging, operations and lifecycle
- clustering from a single machine to a full data center rack
- projects to compartmentalise instances, images, profiles and networks
- profiles that apply to both containers and virtual machines
- storage drivers: ZFS, Btrfs, LVM, directory, Ceph RBD, CephFS, Ceph Object, LINSTOR and TrueNAS
- network types: bridge, OVN, macvlan, SR-IOV and physical, with ACLs, forwards, load balancers and BGP
- snapshots, backups and recovery for all objects Incus manages
- instance migration between servers and import of existing machines (incus-migrate)
View 9 more
- resource limits for CPU, memory, network I/O, block I/O, disk and kernel resources
- device passthrough for USB, GPU, Unix character and block devices, NICs, disks and paths
- unprivileged containers, resource restrictions and authentication for security
- TLS client certificates and OpenID Connect authentication; OpenFGA fine-grained authorization
- web UI opened with
incus webui - incus client for Linux, macOS (Homebrew) and Windows (Chocolatey, Winget)
- lxc-to-incus tool to move existing LXC containers
- cloud-init support
- LTS releases supported for 5 years (7.0 until June 2031) and monthly feature releases
Limitations
- Doesn't run its server on macOS or Windows: Incus needs Linux, and builds for other systems include only the client45
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has single sign-on | plan not known |
Alternatives
The same job
These do what Incus does.
- LXD Modern, secure and powerful system container and virtual machine manager
- Proxmox VE Open-source server virtualization platform for KVM virtual machines and LXC containers
- Harvester The open-source hyperconverged infrastructure solution for a cloud-native world
- XCP-ng XenServer based, community powered
- Proxmox VE Helper-Scripts One-command installations for services, containers and VMs on Proxmox VE
- virt-manager A desktop user interface for managing virtual machines through libvirt