Bubbles provides microVM-backed Linux working environments with seamless desktop integration. Running as an easily installable Flatpak itself, it combines the best aspects of VMs and containers:
Quick, yet Full-featured:
- Starts an instance in just a few seconds
- Access to a real Debian installation (GNOME Console, Vim, Nix preinstalled)
Integrated, yet Isolated:
- Wayland apps are managed on the host compositor and can be exported into the host application launcher; Networking is transparent
- Using sub-sandboxing plus strong KVM isolation boundary
Persistent, yet Disposable:
- Run long-living environments: Separate distinct contexts persistently, while not cluttering your host
- Run quick experiments: Do not break your host, break your Bubble and discard it
Powerful, yet Unprivileged:
- Run containers effortlessly within a Bubble
- Bubbles runs as sandboxed, least-privilege Flatpak on any modern Linux (Opinionated distributions like Fedora Atomic and NixOS included)
Immutable, yet Mutable:
- Includes Nix to enable version-controlled, reproducible work environments
- If Nix is too strict, fall back on Debian's apt or install any other package manager
Screenshots
Base app, before having created any bubble, but with image already downloaded:
Applications installed in a bubble can be exported to the host application launcher via the "Dynamic Launcher" portal, with a little Bubbles icon added in the corner:

Copyright of the icons represented in the screenshot held by their respective owners: Vim (presumably held by "The Vim Project" / Bram Moolenaar) and GNOME Console (presumably held by "GNOME Design Team" / Zander Brown)
Install from Flathub:
flatpak install flathub de.gonicus.bubbles
flatpak run de.gonicus.bubbles
Alternative: Manual installation of more bleeding edge releases from Github Releases
Download the flatpak file for the latest app-v* release from releases.
Install it:
flatpak install --bundle $HOME/Downloads/de.gonicus.bubbles.flatpak
Usage instruction details
Start "Bubbles", then:
- Press image download button, await completion
- Press VM creation button, enter name, confirm
- Start VM, await startup
- Press Terminal button
- Enjoy mutable Debian+Nix Installation
- (Optional, yet recommended: Setup Nix home-manager, see "Cheat Sheet")
- (Optional, yet recommended: Export frequently used applications into the host start menu)
The installed system is a Debian Trixie with preinstalled...
- Gnome Console (kgx)
- Nix
- sommelier
- starship (configured for nerdfonts)
- bubbles-agent (simple agent for serving needs of the UI)
- FiraCode NerdFont
Not a requirement, but using btrfs does seem to apply CopyOnWrite to disk images, so Bubble creation is quicker.
$ /opt/home-manager-bootstrap init
$ /opt/home-manager-bootstrap switch
# Home Manager is initialized!
$ vim ~/.config/home-manager/home.nix # Add packages from nixpkgs
$ home-manager switch
sudo update-alternatives --config x-terminal-emulator
Not claiming to have a full feature-comparison, just trying to make the differences clear:
Compared to Toolbx / Distrobox...
Pro Bubbles:
- allows straight-forward use of containers
- provides isolation
Pro Toolbx / Distrobox:
- more tightly host-integrated
Compared to Qubes OS...
Pro Bubbles:
- As a Flatpak application, it can be easily installed on any modern Linux installation
Pro Qubes OS:
- As a full operating system, the whole system is designed with compartmentalization in mind
Compared to devcontainers...
Pro Bubbles:
- allows straight-forward use of containers (hence also devcontainers)
Pro devcontainers:
- Strong IDE integrations
Compared to general purpose VM solutions like virt-manager, QEMU, VirtualBox, GNOME Boxes...
Pro Bubbles:
- does not require stepping through OS installers
- out of the box working Wayland integration and networking
- is a least-privilege flatpak itself and uses further flatpak sub-sandboxing; using Rust-written crosvm
Pro general purpose VM solutions:
- Allow Windows guests as well as any Linux ISO
- More akin to handling of real hardware
Compared to Lima...
Pro Bubbles:
- Simple desktop integration
Pro Lima:
- Runs also on macOS
Compared to microVM runtimes like Kata Containers or Firecracker...
Pro Bubbles:
- Focus on being a desktop application
Pro microVM runtimes:
- Focus on providing high isolation within cloud infrastructure
Compared to WSL (Windows Subsystem for Linux)...
Pro Bubbles:
- Works on Linux
- Priority on Isolation
Pro WSL:
- Works on Windows
Compared to Crostini (Linux on ChromeOS)...
Pro Bubbles:
- Works as Flatpak on GNU/Linux distributions
Pro Crostini:
- Works on ChromeOS, is builtin
- Uses a larger feature set of crosvm and is its first-party consumer
- No EGL support (yet, see PR for AMD)
- Wayland-only, no X11 at the host side (unlikely to change)
- Wayland-only, no X11 at the guest side (in fact, somewhat possible using current sommelier, but may be buggy)
- Everything there is an issue open for
- crosvm + sommelier
- Relm4
- gtk-rs
- passt
- distrobuilder
- Gnome Console
- ...


