Deploy Kaeso on Proxmox VE
Run Kaeso 0.7.0 on Proxmox VE 9.2 in a Debian or Ubuntu cloud-init VM. Why a VM fits Docker Compose better than an LXC container, guest agent, vzdump backups and updates.
- Published
- Reading time
- 5 min
- Author
- Kaeso Team

Proxmox VE is a common way to run internal services on your own hardware or a dedicated server. This guide deploys Kaeso 0.7.0 inside a Proxmox QEMU virtual machine on Proxmox VE 9.2 (current as of November 2026), built from a Debian 13 or Ubuntu 24.04 cloud image with cloud-init.
Proxmox's own documentation notes that running Docker directly on the Proxmox VE host is not recommended, and that nesting container orchestration inside a QEMU VM remains the recommended practice (Proxmox VE FAQ (opens in a new tab), Linux Container docs (opens in a new tab)). Proxmox VE 9.1 added OCI application containers as a tech preview, which does not run Docker Compose stacks. You can run Docker inside an unprivileged LXC container with nesting=1,keyctl=1, but a VM avoids kernel-feature friction with Docker, ClickHouse and the updater, and supports live migration cleanly.
For the shared Docker, backup and troubleshooting reference inside the VM, see the Linux server guide.
What you need01
| Proxmox VE host | Proxmox VE 9.2 (roadmap (opens in a new tab)) on amd64 or UEFI/ACPI arm64, with at least 2 vCPUs, 4 GB RAM and 32 GB of free VM storage |
| Network | A bridge (vmbr0) with internet access; either a public IP, port forwarding on TCP 80/443 and UDP 443, or an internal reverse proxy |
| SSH key | An SSH public key on your workstation or Proxmox host |
| Domain | A domain such as kaeso.example.com pointing at the VM (or at your reverse proxy) |
| An SMTP server on port 587 with STARTTLS (optional at first start) |
What it costs02
Kaeso itself is open source under the MIT licence, and Proxmox VE is published under the GNU AGPLv3 (opens in a new tab) with optional support subscriptions (Proxmox VE pricing (opens in a new tab)). Without a subscription, Proxmox provides the pve-no-subscription repository for non-production and home-lab hosts (package repositories (opens in a new tab)). Your ongoing cost is the hardware, electricity and any server hosting you already pay for. Prices change; check Proxmox's page before ordering a subscription.
1. Create a cloud-init VM03
Sign in to the Proxmox VE host over SSH and download a current cloud image — Debian 13 (Trixie) (opens in a new tab) or Ubuntu 24.04 (opens in a new tab):
wget -O /tmp/debian-13-genericcloud-amd64.qcow2 \ https://cloud.debian.org/images/cloud/trixie/latest/debian-13-genericcloud-amd64.qcow2Create a VM with 2 cores, 4096 MB of memory (8192 MB if you expect heavy ClickHouse request logs), a virtio-scsi-pci controller (required by Ubuntu cloud images and standard for Debian), a cloud-init drive, and a 40 GB disk (Cloud-Init Support (opens in a new tab), qm(1) (opens in a new tab)). Replace 120, local-lvm, vmbr0, the IP and your SSH public key path to match your host:
qm create 120 --name kaeso --cores 2 --memory 4096 \ --net0 virtio,bridge=vmbr0 --scsihw virtio-scsi-pciqm set 120 --scsi0 local-lvm:0,import-from=/tmp/debian-13-genericcloud-amd64.qcow2qm disk resize 120 scsi0 40Gqm set 120 --ide2 local-lvm:cloudinitqm set 120 --boot order=scsi0qm set 120 --serial0 socket --vga serial0qm set 120 --ciuser kaeso --sshkeys ~/.ssh/id_ed25519.pubqm set 120 --ipconfig0 ip=192.0.2.20/24,gw=192.0.2.1qm set 120 --agent 1qm start 120For DHCP instead of a static address, pass --ipconfig0 ip=dhcp. (If you prefer to clone from a reusable template, run qm template on a base VM first and clone it with qm clone.)
2. Install the QEMU guest agent04
Sign in to the new VM and install qemu-guest-agent so Proxmox can report the VM's IP address and freeze the filesystem during live backups (QEMU Guest Agent (opens in a new tab)):
ssh kaeso@192.0.2.20sudo apt-get update && sudo apt-get install -y qemu-guest-agentsudo systemctl enable --now qemu-guest-agent3. Expose Kaeso to your network or the internet05
Choose the layout that matches your Proxmox environment:
- Direct public IP or router port forwarding: point
kaeso.example.comat your public IP, forward TCP 80, TCP 443 and UDP 443 to the VM, and let Caddy obtain a Let's Encrypt certificate directly. - Behind an existing reverse proxy (Traefik, Caddy, Nginx, HAProxy): install Kaeso with
--domain :80 --public-url https://kaeso.example.comso Caddy listens on plain HTTP inside your network while your edge proxy terminates TLS. Set long proxy timeouts and at least a 64 MiB body limit for streaming replies and media uploads (domains and TLS (opens in a new tab)).
4. Install Kaeso06
Inside the VM, download and read the installer, then run it with sudo:
curl -fsSL https://kaeso.app/install.sh -o install.shless install.shsudo sh install.sh --domain kaeso.example.com --dir /opt/kaeso --install-dockerIf Kaeso sits behind another reverse proxy, pass --domain :80 --public-url https://kaeso.example.com instead of --domain kaeso.example.com. Add --version 0.7.0 to pin this release.
The installer sets up Docker Engine on Debian (opens in a new tab), writes /opt/kaeso/compose.yaml, .env and master-keys, starts every service with the updater enabled, and prints the one-time setup link.
5. Create the first user, save the master key and add SMTP07
Open the setup link within 24 hours to create the first instance admin. To print a new link while no user exists:
cd /opt/kaesosudo docker compose exec gateway kaeso setup-linkSave /opt/kaeso/master-keys into your password manager, separate from your Proxmox backups:
sudo cat /opt/kaeso/master-keysTo enable email notifications and sign-in links, configure SMTP in /opt/kaeso/.env as shown in the Linux server guide, apply with sudo docker compose up -d --wait, and test:
cd /opt/kaesosudo docker compose exec gateway kaeso mail test owner@example.comBack up08
Proxmox VE schedules VM backups under Datacenter › Backup (vzdump) in Snapshot mode (Backup and Restore (opens in a new tab)). With the QEMU guest agent enabled and running, Proxmox calls guest-fsfreeze-freeze and guest-fsfreeze-thaw to improve filesystem consistency while the VM stays up. If you run Proxmox Backup Server, it also supports client-side encryption.
A live VM snapshot is still crash-consistent rather than an application-level PostgreSQL dump, so keep a daily pg_dump job copied off the VM as shown in the Linux server guide, and store /opt/kaeso/master-keys apart from both backups.
Update to the next release09
Inside the VM, instance admins can update from Instance › Updates in the console, enable automatic updates in a maintenance window, or run sudo sh install.sh --update in /opt/kaeso. See Update to the next release.
Before updating from 0.6 to 0.7, check .env and compose.override.yaml for the three settings 0.7.0 now refuses (KAESO_KPMR_INTERVAL below 5m, KAESO_MCP_SERVERS_SYNC_INTERVAL below 1m, and KAESO_SMTP_USER without KAESO_SMTP_PASSWORD); see the Kaeso 0.7 article.
Troubleshooting10
| What you see | What to do |
|---|---|
| Docker or ClickHouse fails inside an unprivileged LXC | Move Kaeso to a QEMU VM as above; if you must test in LXC, set pct set <vmid> --features nesting=1,keyctl=1 |
Proxmox cannot freeze the VM during vzdump | Check qm set 120 --agent 1 on the host and systemctl status qemu-guest-agent inside the VM |
Cloud-init ignores --ciuser or --sshkeys when using --cicustom | A custom user= snippet replaces the generated user-data completely; define the user and SSH key inside the snippet |
| Let's Encrypt fails behind a LAN proxy | Use --domain :80 --public-url https://kaeso.example.com and let the edge proxy handle TLS |
| Streams drop after 60 seconds behind a LAN proxy | Raise the proxy's read timeout and set its request body limit to at least 64 MiB |
See Troubleshooting in the Linux server guide for shared Docker, memory and setup-link issues.
What was tested11
The Proxmox VE steps were checked against Proxmox VE 9.2 documentation and current Debian/Ubuntu cloud image URLs on 22 November 2026; Kaeso hasn't been installed on Proxmox VE for this guide. For the shared Compose package, the 0.7.0 compose.yaml, .env, kaeso config check and first start against PostgreSQL, ClickHouse and Valkey were tested locally, and the 0.6-to-0.7 update path was tested on a Debian server during the 0.7.0 release. If you deploy it there, tell us how it went.
Next steps12
- Deploy Kaeso on a Linux server: backups,
config check, scaling and troubleshooting for Docker Compose installs. - Where to run Kaeso: compare self-hosted servers, cloud providers and Kubernetes.
- Domains and TLS (opens in a new tab): running Kaeso behind an existing reverse proxy.
Product names in this guide belong to their owners and are used only to name the software and services involved. Kaeso is not affiliated with or endorsed by them.
By Kaeso Team


