selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Incus logo

Self-host Incus

v7.6.0

System container and VM manager with unified REST API

ReleaseOpen SourceApache-2.0
Updatedlast week
LanguageGo
Setup difficultyAdvanced
Stars
6 618
Ports
8443 (Remote API (HTTPS) - example port used in documentation), 80 (ACME HTTP-01 challenge (temporary))
Requires
Dnsmasq, Libacl1, Libcap2, Libsqlite3, Libuv1, LXC, Nftables, QEMU
Docker
ghcr.io/cmspam/incus-docker
Install with Build from Source

What is Incus?

Incus runs complete Linux distributions inside containers or virtual machines and manages them through a single REST API. It scales from a single host to large clusters, offering secure unprivileged containers, multiple storage backends, advanced networking, resource limits, device passthrough, snapshots, backups, live migration, and multi-tenancy via projects. Install via distribution packages, Docker/Podman, or from source on Linux (kernel 6.12+). Client binaries exist for Windows and macOS. Authentication uses TLS certificates or OpenID Connect.

Incus alternatives

All self-hosted alternatives to Canonical LXD →

Should you self-host Incus?

Incus scores 75/100 on selfhost.directory (how scoring works) and ranks #3 of 44 in Container Management. It has 6 618 GitHub stars, +275 in the last 30 days.

It shipped 17 stable releases in the past year. The latest, v7.6.0, came out on 30 October 2026. New versions land roughly every 3 weeks.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is Portainer (77/100, 38 805 stars). It scores higher overall, so compare the two before you pick. See Incus vs Portainer side by side.

Features

  • Advanced network management
  • Application containers
  • Clustering
  • Device passthrough
  • Image-based workflow
  • Live Migration
  • Multiple Storage Backends
  • OIDC AuthenticationNo user role handling yet; any authenticated user gets full access unless combined with OpenFGA authorization
  • Projects
  • Resource Limits
  • Snapshots and backup
  • System containers
  • TLS certificate authentication
  • Unified REST API
  • Virtual Machines

Incus README

Incus

Incus is a modern, secure and powerful system container and virtual machine manager.

It provides a unified experience for running and managing full Linux systems inside containers or virtual machines. Incus supports images for a large number of Linux distributions (official Ubuntu images and images provided by the community) and is built around a very powerful, yet pretty simple, REST API. Incus scales from one instance on a single machine to a cluster in a full data center rack, making it suitable for running workloads both for development and in production.

How to install Incus

Install Incus with Build from Source

Environment variables
CGO_CFLAGS, CGO_LDFLAGS, LD_LIBRARY_PATH, PATH

tar zxvf incus-6.0.0.tar.gz cd incus-6.0.0 make deps make

Set environment variables as shown by make deps

export PATH="${PATH}:$(go env GOPATH)/bin" export LD_LIBRARY_PATH="$(go env GOPATH)/deps/cowsql/.libs/:$(go env GOPATH)/deps/raft/.libs/:${LD_LIBRARY_PATH}"

Requires Go 1.26+, 2GiB+ RAM for build, and development headers for libacl1, libcap2, libuv1, libsqlite3

How to configure Incus

  • core.https_addressAddress to bind for the remote API (HTTPS)
  • INCUS_DIRThe Incus data directory
  • INCUS_INSECURE_TLSIf set to true, allows all default Go ciphers both for client <-> server communication and server <-> image servers

    values: true/false

  • INCUS_CONFPath to the client configuration directory
  • INCUS_GLOBAL_CONFPath to the global client configuration directory

Incus releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

What is this incusbr0-mtu device?

A dummy network interface created when setting bridge.mtu to force the bridge to adopt that MTU.

Why does starting containers suddenly fail?

May be caused by a VPN client (e.g., Mullvad, Private Internet Access) mounting net_cls cgroup1 over cgroup2. Unmount net_cls or reconfigure the VPN.

Why does Incus stall when creating an instance?

Check if the storage pool is out of space with 'incus storage info <pool_name>'. Use 'incus monitor' and 'dmesg' for more insight.

How can I monitor what Incus is doing?

Use 'incus monitor --pretty' for human-readable output of all message types.

Why can I not ping my Incus instance from another host?

Many switches block MAC address changes. Run tcpdump on the uplink to diagnose ARP or ICMP issues.

Where does the Incus client store its configuration?

Under ~/.config/incus, including client.crt, client.key, config.yml, and per-remote certificates.

How can I run Docker inside an Incus container?

Set security.nesting=true on the container and optionally load required kernel modules via linux.kernel_modules.

Can I bind-mount my home directory in a container?

Yes, using a disk device. For unprivileged containers, use shift=true, raw.idmap, or POSIX ACLs to handle permissions.

Why should I not run privileged containers?

Privileged containers can affect the entire host (e.g., reset network cards). Almost everything can run in unprivileged containers instead.

When I do a incus remote add, it asks for a token?

Clients must authenticate with the Incus server to access the remote API. Use a trust token as described in the authentication guide.

How to enable the Incus server for remote access?

By default Incus only listens on a local Unix socket. Follow the 'How to expose Incus to the network' guide to enable remote HTTPS access.

Why do my instances not have network access?

Most likely your firewall blocks network access for instances, or there's a conflict with Docker on the same host. See the firewall configuration guide and the Incus-Docker connectivity guide.

More in Container Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…