Today we are announcing general availability (GA) of Docker VMM: our new virtualization layer under Docker Desktop, optimized for container workloads. Common real-world tasks are about twice as fast, and memory is automatically reclaimed when your containers finish. Available on macOS, Windows (x86), and Linux with Docker Desktop v4.101.

Docker VMM has been in beta for several months while we hardened it and iterated on performance. We will gradually transition to it as the default for new installs. If you already use Docker Desktop, nothing changes: you stay on your current backend, but you can switch if you want. The other backend solutions are still supported, so new installs can select the option that is best for you.

Why we built our own VMM

Docker Desktop makes it easy to run Linux containers on Mac and Windows. To support this, it creates and manages a Linux VM for you and handles the complex integration of host networking and file sharing, so containers run fast and stay isolated from your machine. The virtual machine monitor (VMM) creates that VM using the native host OS virtualization tools.

Docker Desktop has previously relied on third-party VMM technologies. Now it runs on Docker VMM, built by us from the ground up. That means we own the full stack, can tune every part of the engine for container workloads, and keep improving it on our own schedule. That gives you:

  • Performance. The VMM is built for running containers, so we can optimize the paths you feel: file sharing, disk, and memory.
  • Isolation. Docker VMM runs a fully isolated VM on every platform. That boundary matters more now that developers run AI agents and generate code on their laptops. On Windows, you no longer have to choose between isolation and performance: Docker VMM runs a VM as isolated as Hyper-V’s, searches a large codebase about seven times faster, and returns memory to Windows when your containers finish, whereas Hyper-V holds its full allocation the whole time.
  • Stability. Docker creates and manages the VM, so Docker Desktop no longer depends on an environment it doesn’t control. When something goes wrong in the layer underneath, we can now fix it directly.
  • Room to innovate. With one virtualization layer across macOS, Windows, and Linux, improvements reach every platform at once, and we can build features that depend on controlling the VM rather than waiting for someone else’s roadmap.
  • One technology across Docker. Docker Desktop and Docker Sandboxes run on the same underlying virtualization technology on macOS, Windows, and Linux. Developers get the same behavior across their tools and machines, and organizations have one virtualization layer to evaluate, secure, and manage instead of one per product and platform.

Memory released back to your machine

Docker Desktop usually runs in the background while you work, so memory held by its VM is memory your browser, IDE, and other tools can’t use.

Until now, how much memory the VM held depended on the backend. Some reserve a fixed amount up front and hold all of it, whether your containers use it or not. Others start small and grow as your containers need more, but keep that memory after the work is done.

With Docker VMM, your containers are still allocated more memory when they need it. However, now when those containers finish, that memory is returned to your machine, so Docker Desktop holds only what your containers are using, and the rest is free for everything else you run.

On Windows, Docker Desktop’s Hyper-V backend reserves the VM’s full memory allocation up front and holds it the whole time. The WSL 2 backend already reclaims memory. Docker VMM gives you WSL 2’s memory behavior with Hyper-V’s isolation, in a standalone VM that Docker creates and manages.

Screenshot 2026 11 30 at 9.52.51 PM

Figure 1: Memory Docker Desktop holds on the host while a job fills and frees the VM’s memory. What each check runs is in Benchmark details

So you can run memory-heavy work, such as a large image build, a test suite with its databases, or a local Kubernetes cluster, and give it the memory it needs. When the job finishes, that memory is reclaimed by your machine.

Faster work in your project folder

Bind mounts share your project folder from the host into a container. They’re how a Compose service (volumes: - .:/app) or a dev container sees your code, so anything that runs in the container goes through them: the service reading your source, and the installs, builds, and test runs you start there. In a dev container, that’s nearly everything, because your terminal, editor tooling, and tests all run inside it. With Docker VMM, everyday work in a large repository finishes faster. Using the PostHog repository, a large open-source monorepo, as the example project:

  • Searching a large codebase for the first time: 2.6x on Mac; on Windows, 19.5x against WSL 2 and 7.0x against Hyper-V. Running a search across the whole repository, as grep or your editor does right after you open a project.
  • Checking out a second working copy: 2.2x on Mac; on Windows, 6.8x against WSL 2 and 3.7x against Hyper-V. Creating a second working copy of a large git repository with git worktree add, so you can work on two branches side by side.

Underneath, three kinds of file access got faster, and each maps to work you do in a Compose stack or dev container:

  • Many small files and their metadata: 2.3x on Mac; on Windows, 4.6x against WSL 2 and 6.4x against Hyper-V. Creating, reading, and deleting thousands of tiny files. That’s what installing dependencies into the project looks like to the file system: npm install into node_modules, composer install into vendor/, or unpacking a source tree.
  • Mixed random reads and writes: 1.7x on Mac; on Windows, 2.1x against WSL 2 and 1.2x against Hyper-V. Builds and test runs that read the source tree and write their output back into it, such as tsc, jest, pytest, or go test, work this way.
  • Random reads from a large file: 1.4x on Mac; on Windows, 3.2x against WSL 2 and 4.6x against Hyper-V. Reading small pieces of a large file in random order. That’s how stateful dev services read data kept in your project folder: a SQLite development database, a local search index, or a dataset loaded by a notebook.
Screenshot 2026 11 30 at 9.52.11 PM

Figure 2: Time to complete each check through a bind mount, median of repeated runs. On Windows, the project folder is on the Windows drive. Search and worktree use a fresh PostHog checkout. What each check runs is in Benchmark Details.

Faster disk inside your containers

Not everything goes through your project folder. Each container also has its own file system, a writable layer stored on the VM’s disk for state that’s only needed by processes inside the container: database files, caches, logs, temp files, and the layers of the images you build. That disk is faster with Docker VMM, which impacts the following types of workloads:

Throwaway test databases. Integration tests often need a real database. Testcontainers and Compose test stacks start a fresh Postgres, MySQL, Redis, or MongoDB for each run, so the data lives inside the container. Every test that inserts rows, runs a query, or resets state reads and writes to disk, so a faster disk means a faster test suite. Dev services that keep their data and logs inside the container, such as Elasticsearch, OpenSearch, or Kafka, work the same way.

  • Random reads from a large file: 1.4x on Mac; on Windows, 2.1x against WSL 2 and 1.7x against Hyper-V. Reading small pieces of a large file in random order, as a database lookup or index scan does.
  • Random writes to a large file: 1.5x on Mac; on Windows, 1.3x against both WSL 2 and Hyper-V. Updating small pieces of a large file in random order, as a cache or a test database running with fsync off does.

Image builds. Every build step writes to the same disk. COPY brings your source tree into a layer, and RUN npm install, pip install, or apt-get unpacks thousands of files into the next one.

  • Building an image that copies in a large source tree: 1.2x on Mac and against WSL 2 on Windows; about the same as Hyper-V. Copying a fresh PostHog checkout into an image and exporting it.
Screenshot 2026 11 30 at 9.51.29 PM

Figure 3: Time to complete each check on the container’s own file system, median of repeated runs. What each check runs is in Benchmark details

How we measured, and how to check it yourself

The figures in this post come from a MacBook Pro with M5 Max and a Dell XPS 15 with an Intel Core i9-13900H, with the VM given 18 CPUs and 16 GiB of memory, and each is the median of repeated runs. We ran the same suite across multiple iterations in differing order to get a fair benchmark. Benchmark details at the end of this post lists what each check runs and the measured times.

You can check the comparison on your own machine; we’ve written a reproduction guide: step-by-step instructions for running representative checks yourself, including searching and checking out a large repository through a shared folder.

How to enable it

With GA, Docker VMM will be the default for new Docker Desktop installs. You can switch to it yourself at any time, and switch back the same way: open Docker Desktop, go to Settings > General > Virtual Machine Options, and choose Docker VMM.

Screenshot 2026 11 30 at 9.50.45 PM

If your organization manages Docker Desktop with Settings Management, you can specify your VMM there.

What’s next

We will continue working on real-world container performance and sharing updates as we go. Apple’s Virtualization framework, WSL 2, Hyper-V, and QEMU on Linux continue to be supported.

Our aim is to build on top of this with new capabilities including governance over the VM boundary and visibility of the process activity in the VM.

Try it today

Update to Docker Desktop 4.101 to get started.

Noticing a difference? Have ideas for where you’d want us to go next? We’re collecting feedback through in-product responses, our community Slack, and support channels.

Benchmark details

Each check ran inside a container against Docker VMM and the platform’s existing backend, on the same machine with the same VM allocation. Figures are the median of repeated runs. Lower is better, except for operations per second.

Mac: MacBook Pro with M5 Max, VM given 18 CPUs and 16 GiB. Apple Virtualization framework compared with Docker VMM.

Screenshot 2026 11 30 at 9.36.56 PM

Windows: Dell XPS 15, Intel Core i9-13900H, VM given 18 CPUs and 16 GiB. WSL 2 and Hyper-V compared with Docker VMM.

Screenshot 2026 11 30 at 9.36.31 PM

On Windows, the project folder sits on the Windows drive, where Windows editors and tools see it, and is shared into the VM. For WSL 2, Docker recommends keeping code inside the WSL file system, which is faster on that backend.