Skip to content
These docs are for the next devvm, which isn’t released yet. The docs for the current release are at devvm.dev.
Known limits

Known limits

These are the things devvm can’t do, everywhere, on Linux hosts and on Intel Macs.

Everywhere

  • devvm runs on macOS and Linux only, not on Windows (requirements).
  • Shared tools are read-only, so a tool can’t update itself or add components, for example with rustup component add (details).
  • A layer goes in and comes out by making the VM again. A layer’s script changes the VM’s disk, so devvm layer add gives a VM more layers by making it again, and everything on its disk but its home folder is lost (details). devvm layer rm takes layers out in the same way (details). Shared tools go in with devvm tools add and come out with devvm tools rm, and the VM’s disk stays as it is (details).
  • --from takes only Debian-, Ubuntu- and Alpine-based images, and Alpine, Debian 12 (node:24) and Ubuntu before 26.04 on arm64 build with unpinned packages (details).
  • Agent folders that you make or delete on this machine reach a running VM only after a restart, which devvm offers (details).
  • Ports are forwarded over TCP only, and forwarding every port means every port from 1024 up. You can tunnel UDP over a forwarded TCP port with socat (details).
  • Links between VMs carry TCP over IPv4 alone, and a container in a VM reaches them only with --network host (details).
  • Tools that ignore the proxy settings reach a confined VM’s proxy only over HTTPS and HTTP to a host by name, on ports 443 and 80 and up to 32 more that your allow rules name. Other ports, protocols that name no host in their first bytes, such as a database’s, addresses in URLs, HTTP/3 alone and IPv6 alone need the tool’s own proxy settings, and a client that doesn’t trust the VM’s CA sees a certificate error for a blocked HTTPS host (details).
  • Changing a running VM’s ports closes the connections that are open through its forwards (details).
  • With Lima, project paths can’t contain commas, folder names in VM names are cut short, and disks grow but never shrink (details).
  • File watchers in a Lima VM don’t see the edits you make on this machine, only those made in the VM, so set a dev server that should reload on your edits to poll the project folder (details).

Linux hosts

  • .git protection is read-only in the VM’s view, not a lock on the host’s files, so after a git command on this machine replaces .git/config while the VM runs, the VM can change or replace the new file until devvm locks it again. devvm names each such file when the VM stops (details). A VM whose .git/config or hook has another name doesn’t start, and the VM can’t rename a file between the working tree and .git (details).
  • Where the kernel doesn’t let devvm use a user namespace, such as on Ubuntu 23.10 and newer, there’s no .git protection. devvm warns about it at each launch, and it names the .git hooks and config that changed, but only after the fact, so use --clone there (details).
  • VMs mount the project folder with 9p instead of virtiofs, so file watchers in a VM also miss the VM’s own changes in the folder’s subfolders, and need polling there (details).
  • New VMs cache the project folder with the none mode, because Linux’s 9p client loses data with Lima’s mmap. A VM made before devvm chose none keeps mmap, with a warning at each launch, until you run devvm mount-cache none (details).
  • A program can’t map a file in the project folder for shared writing, and gets Invalid argument, such as LMDB, which Parcel’s .parcel-cache and Gatsby’s cache use, numpy’s memmap in r+ or w+ mode, Java’s read-write mappings and the mold linker. Keep their files on the VM’s own disk, or use a --clone VM (details).
  • SQLite’s WAL mode fails in the project folder unless the connection sets PRAGMA locking_mode=EXCLUSIVE first, while SQLite’s default journal works. Use a --clone VM for a project that needs WAL mode, as its repo is on the VM’s own disk, or keep the database outside the folder (details).
  • Set-id bits that root in a VM sets on files in the project folder reach the host, and devvm names such files when it makes a VM and once a VM is stopped (what to do).
  • devvm keeps your secrets in files under ~/.local/share/devvm/secrets/, which only you can read, instead of the Keychain (details).
  • devvm has no Time Machine to keep VMs’ CAs out of, so keep ~/.local/share/devvm/vms out of your backups (details).

Intel Macs

devvm has a release for Intel Macs, which the install script and Homebrew install, but nobody has tested it on one yet. The tested systems are Apple silicon Macs and Linux on arm64 and x86_64, so on an Intel Mac, VMs, --from and the network tiers’ confinement may fail in ways that devvm’s tests haven’t caught.

Last updated on