Tmpfs with Incus, a Breeze

Tmpfs with Incus, a Breeze

A storage pool in Incus is a driver and a source. There are several drivers: zfs, btrfs, lvm, ceph, dir. dir is the most boring one, a directory. And a directory is allowed to be a tmpfs mount. mount -t tmpfs -o size=32g none /mnt/tmpfs incus storage create tmpfs dir source=/mnt/tmpfs From here on, every instance that starts on this pool lands in memory. Create incus launch images:debian/trixie runner --storage tmpfs Back up incus publish turns the instance into an image. If it’s still running, Incus demands --force — it gets stopped briefly and restarted automatically afterward. The aliases rotate the generations: ...

Tech · August 14, 2026 · 2 min · René Jochum