Install the stable version of Incus 1 to be consistent across all deployments.
- Add the repository
sudo mkdir -p /etc/apt/keyrings/
sudo curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc
sudo 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'
- Install Incus
sudo apt-get update
sudo apt-get install -y incus
- Add user to Incus groups
sudo usermod -aG incus,incus-admin $USER
-
log out and log back in to activate new groups. Or, use
newgrp2 to do so temporarily. -
Initialize incus
incus admin init
incus remote add docker https://docker.io --protocol=oci