This new layer is engineered to optimize for container workloads, delivering improvements such as faster file access and automatic memory reclamation once jobs conclude.
Docker Desktop has previously relied upon external virtualization technologies; however, it now operates using Docker VMM, which the organization developed internally from the ground up. This internal ownership grants the ability to tune every component of the engine specifically for container operations and allows for continuous, self-directed enhancement.
This development provides several distinct advantages for operators and developers. Firstly, there is enhanced Performance, as the VMM is purpose-built for containers, enabling optimization across paths relevant to developers, specifically file sharing, disk operations, and memory management. Secondly, Isolation is strengthened because Docker VMM maintains a completely separated virtual machine on every supported platform, a boundary that is becoming increasingly critical given the rise of AI agents and code generation on local workstations.
On Windows systems, users no longer face a trade-off between performance and isolation; Docker VMM provides a VM as isolated as Hyper-V while simultaneously searching extensive codebases roughly seven times quicker and returning memory to Windows after container tasks are complete, contrasting with Hyper-V's practice of maintaining its full memory allocation constantly. Furthermore, Stability is improved because Docker takes responsibility for creating and managing the VM, meaning Docker Desktop is no longer reliant on an environment outside of its direct control, allowing the team to address underlying layer failures immediately. This architecture also allows for more room to innovate, as having a single virtualization layer across macOS, Windows, and Linux means enhancements propagate across all platforms simultaneously, enabling the construction of features contingent on VM control rather than waiting for external roadmaps. Finally, this establishes One technology across Docker, ensuring that Docker Desktop and Docker Sandboxes utilize the same underlying virtualization technology on all three operating systems, thereby providing developers with consistent behavior across their tools and devices, and offering organizations a singular virtualization layer for evaluation, security, and management instead of one per product and platform.
A significant functional improvement involves memory reclamation. Previously, the memory consumed by the VM, which runs in the background while a user works, was dependent on the chosen backend. Some backends would reserve a fixed amount upfront, retaining it even if containers weren't utilizing it, while others started small but kept the allocated memory post-completion. With Docker VMM, while containers still receive the necessary memory when required, that memory is returned to the host machine upon job completion, meaning Docker Desktop only retains what is actively in use. Specifically on Windows, the Hyper-V backend reserves and holds the entire VM memory allocation throughout its operation; in contrast, the WSL 2 backend already performs memory reclamation, and Docker VMM delivers WSL 2's memory behavior combined with Hyper-V's isolation within a standalone VM managed by Docker.
Regarding file system interactions, everyday work within large code repositories is now faster with Docker VMM. Bind mounts, which link a project folder from the host into a container—the mechanism by which a Compose service (volumes: - .:/app) or a dev container accesses source code—are accelerated. This affects nearly all containerized development activities, such as service reading source code, and the installs, builds, and tests initiated within the environment. Using the PostHog repository, a sizable open-source monorepo, as the test case, benchmarks showed substantial gains: searching a large codebase for the first time was 2.6x faster on Mac, and on Windows, it was 19.5x faster against WSL 2 and 7.0x faster against Hyper-V. Similarly, checking out a second working copy demonstrated improvements of 2.2x on Mac, and on Windows, 6.8x against WSL 2 and 3.7x against Hyper-V. These speedups stem from enhancements in three file access types relevant to Compose stacks or dev containers: handling many small files and their metadata improved by 2.3x on Mac and 4.6x against WSL 2 and 6.4x against Hyper-V, which corresponds to dependency installation processes like `npm install` or `composer install`; mixed random reads and writes saw a 1.7x improvement on Mac and 2.1x against WSL 2 and 1.2x against Hyper-V, affecting build and test execution tools such as `tsc`, `jest`, `pytest`, or `go test`; and random reads from a large file improved by 1.4x on Mac and 3.2x against WSL 2 and 4.6x against Hyper-V, which is characteristic of stateful services reading data from project folders, such as SQLite databases or local search indexes.
Beyond project folder interactions, each container possesses its own file system, featuring a writable layer on the VM's disk for container-specific state like logs, caches, temporary files, and built image layers. Docker VMM accelerates this internal disk, impacting workloads such as throwaway test databases. For instance, in integration tests utilizing Testcontainers or Compose stacks that spin up fresh Postgres, MySQL, Redis, or MongoDB instances for every run, a faster disk translates directly into a quicker test suite, as every operation involving data insertion, querying, or state reset involves disk I/O. Dev services maintaining internal data, like Elasticsearch, OpenSearch, or Kafka, benefit similarly. Benchmarks for internal disk operations showed that random reads from a large file were 1.4x on Mac, 2.1x against WSL 2, and 1.7x against Hyper-V, mirroring database lookups or index scans, while random writes to a large file improved by 1.5x on Mac and 1.3x against both WSL 2 and Hyper-V, relevant to caching or test databases configured without `fsync`. Image builds are also faster; every build step writes to this disk. Copying a large source tree into an image showed a 1.2x speedup on Mac and against WSL 2 on Windows, comparable to Hyper-V, when exporting a fresh PostHog checkout.
The empirical data supporting these claims was gathered using a MacBook Pro equipped with M5 Max and a Dell XPS 15 featuring an Intel Core i9-13900H, with the VM provisioned with 18 CPUs and 16 GiB of memory; all results represent the median of repeated trials. To ensure a fair comparison, the identical suite of checks was executed multiple times in varied sequences. A reproduction guide is available for users wishing to validate these comparisons on their own hardware, including instructions for testing repository searching and checkout via a shared folder.
To implement this, Docker VMM will progressively become the default setting for new installations. Users retain the option to manually switch to or switch back to Docker VMM via Docker Desktop Settings > General > Virtual Machine Options. Furthermore, organizations managing Docker Desktop through Settings Management can designate their preferred VMM there.
The development team continues its focus on assessing real-world container performance and commits to publishing measurement methodologies. Support for Apple’s Virtualization framework, WSL 2, Hyper-V, and QEMU on Linux remains active and unchanged. By controlling this layer, organizations gain novel capabilities, including the ability to govern and gain insight into the VM environment where their containers operate, specifically regarding boundary crossings. Users can begin testing this functionality by updating to Docker Desktop 4.101.
This evolution reflects a broader industry trend toward greater control and optimization at the infrastructure layer. As developers increasingly rely on sophisticated local tooling, the ability of platform providers to own and fine-tune the underlying virtualization stack directly addresses performance bottlenecks that previously required compromises between isolation and speed.
Why it matters
This shift to a self-built virtualization layer gives Docker control over the entire stack, allowing for significant performance tuning for container workloads. For developers, this means faster operations like searching large codebases and better memory management on host machines while running containers.





