In a development or production environment, it is often necessary to test applications. Although traditional solutions such as KVM or QEMU exist, they can be complex and time-consuming to configure. This is where Incus comes in. Based on LXD, Incus offers lightweight images of different Linux distributions, simplifying the management of development and test environments.
Key features of Incus:
- Incus is designed to run system containers, which function as complete virtual machines with an integrated operating system (e.g., Ubuntu, CentOS, etc.).
- It allows you to manage both system containers (based on LXC) and virtual machines (VMs) in a unified manner.
- Incus is particularly well suited for use cases such as:
- Hosting complete services (databases, web servers, etc.).
- Creating development and testing environments.
- Isolating services in a multi-tenant context.
Installation :
To install Incus, follow the steps below:
Add the official repository by running the following command:
sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources Enabled: yes Types: deb URIs: https://pkgs.zabbly.com/incus/stable Suites: $(. /etc/os-release && echo ${VERSION_CODENAME}) Components: main Architectures: $(dpkg --print-architecture) Signed-By: /etc/apt/keyrings/zabbly.asc EOF'
Update the package list:
apt-get update
Install Incus:
apt-get install incus