---
title: Deploy Kaeso on Proxmox VE
description: "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."
url: https://kaeso.app/articles/deploy-kaeso-on-proxmox
markdown: https://kaeso.app/articles/deploy-kaeso-on-proxmox.md
language: en
alternates:
  de: https://kaeso.app/de/articles/deploy-kaeso-on-proxmox.md
  zh-CN: https://kaeso.app/zh-CN/articles/deploy-kaeso-on-proxmox.md
published: 2026-11-22
authors:
  - Kaeso Team
tags:
  - self-hosting
  - proxmox
  - deployment
  - guide
image: https://kaeso.app/articles/deploy-kaeso-on-proxmox/cover.jpg
index: https://kaeso.app/llms.txt
---

# 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.

> Every page, article and docs page of Kaeso is listed in https://kaeso.app/llms.txt.

- Published: 22 November 2026
- 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](https://pve.proxmox.com/pve-docs/chapter-pve-faq.html), [Linux Container docs](https://pve.proxmox.com/wiki/Linux_Container)). 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](https://kaeso.app/articles/deploy-kaeso-on-a-linux-server).

## What you need

| | |
| --- | --- |
| Proxmox VE host | Proxmox VE 9.2 ([roadmap](https://pve.proxmox.com/wiki/Roadmap)) 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) |
| Email | An SMTP server on port 587 with STARTTLS (optional at first start) |

## What it costs

Kaeso itself is open source under the MIT licence, and Proxmox VE is published under the [GNU AGPLv3](https://www.proxmox.com/en/about/company-details/press-releases/proxmox-virtual-environment-9-1) with optional support subscriptions ([Proxmox VE pricing](https://www.proxmox.com/en/products/proxmox-virtual-environment/pricing)). Without a subscription, Proxmox provides the `pve-no-subscription` repository for non-production and home-lab hosts ([package repositories](https://pve.proxmox.com/wiki/Package_Repositories)). 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 VM

Sign in to the Proxmox VE host over SSH and download a current cloud image — [Debian 13 (Trixie)](https://cloud.debian.org/images/cloud/trixie/latest/) or [Ubuntu 24.04](https://cloud-images.ubuntu.com/noble/current/):

```bash
wget -O /tmp/debian-13-genericcloud-amd64.qcow2 \
  https://cloud.debian.org/images/cloud/trixie/latest/debian-13-genericcloud-amd64.qcow2
```

Create 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](https://pve.proxmox.com/wiki/Cloud-Init_Support), [`qm(1)`](https://pve.proxmox.com/pve-docs/qm.1.html)). Replace `120`, `local-lvm`, `vmbr0`, the IP and your SSH public key path to match your host:

```bash
qm create 120 --name kaeso --cores 2 --memory 4096 \
  --net0 virtio,bridge=vmbr0 --scsihw virtio-scsi-pci
qm set 120 --scsi0 local-lvm:0,import-from=/tmp/debian-13-genericcloud-amd64.qcow2
qm disk resize 120 scsi0 40G
qm set 120 --ide2 local-lvm:cloudinit
qm set 120 --boot order=scsi0
qm set 120 --serial0 socket --vga serial0
qm set 120 --ciuser kaeso --sshkeys ~/.ssh/id_ed25519.pub
qm set 120 --ipconfig0 ip=192.0.2.20/24,gw=192.0.2.1
qm set 120 --agent 1
qm start 120
```

For 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 agent

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](https://pve.proxmox.com/wiki/Qemu-guest-agent)):

```bash
ssh kaeso@192.0.2.20
sudo apt-get update && sudo apt-get install -y qemu-guest-agent
sudo systemctl enable --now qemu-guest-agent
```

## 3. Expose Kaeso to your network or the internet

Choose the layout that matches your Proxmox environment:

- **Direct public IP or router port forwarding:** point `kaeso.example.com` at 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.com` so 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](https://docs.kaeso.app/self-hosting/domains-and-tls)).

## 4. Install Kaeso

Inside the VM, download and read the installer, then run it with `sudo`:

```bash
curl -fsSL https://kaeso.app/install.sh -o install.sh
less install.sh
sudo sh install.sh --domain kaeso.example.com --dir /opt/kaeso --install-docker
```

If 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](https://docs.docker.com/engine/install/debian/), 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 SMTP

Open the setup link within 24 hours to create the first instance admin. To print a new link while no user exists:

```bash
cd /opt/kaeso
sudo docker compose exec gateway kaeso setup-link
```

Save `/opt/kaeso/master-keys` into your password manager, separate from your Proxmox backups:

```bash
sudo cat /opt/kaeso/master-keys
```

To enable email notifications and sign-in links, configure SMTP in `/opt/kaeso/.env` as shown in the [Linux server guide](https://kaeso.app/articles/deploy-kaeso-on-a-linux-server#5-add-your-smtp-server), apply with `sudo docker compose up -d --wait`, and test:

```bash
cd /opt/kaeso
sudo docker compose exec gateway kaeso mail test owner@example.com
```

## Back up

Proxmox VE schedules VM backups under **Datacenter** › **Backup** (`vzdump`) in **Snapshot** mode ([Backup and Restore](https://pve.proxmox.com/pve-docs/chapter-vzdump.html)). 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](https://kaeso.app/articles/deploy-kaeso-on-a-linux-server#back-up-the-volumes), and store `/opt/kaeso/master-keys` apart from both backups.

## Update to the next release

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](https://kaeso.app/articles/deploy-kaeso-on-a-linux-server#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](https://kaeso.app/articles/kaeso-0-7).

## Troubleshooting

| 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](https://kaeso.app/articles/deploy-kaeso-on-a-linux-server#troubleshooting) in the Linux server guide for shared Docker, memory and setup-link issues.

## What was tested

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](https://kaeso.app/contact) how it went.

## Next steps

- [Deploy Kaeso on a Linux server](https://kaeso.app/articles/deploy-kaeso-on-a-linux-server): backups, `config check`, scaling and troubleshooting for Docker Compose installs.
- [Where to run Kaeso](https://kaeso.app/articles/where-to-run-kaeso): compare self-hosted servers, cloud providers and Kubernetes.
- [Domains and TLS](https://docs.kaeso.app/self-hosting/domains-and-tls): 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

## More articles

- [Deploy Kaeso on Oracle Cloud Infrastructure](https://kaeso.app/articles/deploy-kaeso-on-oracle-cloud.md): Run Kaeso 0.7.0 on an OCI Ampere A1 Arm VM within Oracle's Always Free allowance. Current 2 OCPU / 12 GB limits, security lists, iptables without UFW, DNS, backups and updates.
- [Run Kaeso on a Raspberry Pi](https://kaeso.app/articles/deploy-kaeso-on-a-raspberry-pi.md): Run Kaeso 0.7.0 on a 64-bit Raspberry Pi 5 or 4 at home. Hardware and NVMe storage, Raspberry Pi OS (64-bit), Docker, reaching home behind DS-Lite or CGNAT, backups and updates.

[See all articles](https://kaeso.app/articles.md)

## Own the gateway. Own the record

```bash
curl -fsSL https://kaeso.app/install.sh | sh
```

[Install Kaeso](https://docs.kaeso.app/self-hosting/installation) · [Open the live demo](https://demo.kaeso.app)
