Loa ding
FLASH SALE!!! Tools Kalkulator Gym, hanya 5k dengan kode ADS5K.
Learn more
Updates

Docker VMM Is Now GA: Faster, Leaner Virtualization for Docker Desktop

A 4 min read 7 0
Docker VMM Is Now GA: Faster, Leaner Virtualization for Docker Desktop
Docker VMM, the virtualization layer under Docker Desktop

Docker has officially moved Docker VMM to general availability (GA). It's a new virtualization layer under Docker Desktop, optimized for container workloads. Common everyday tasks run about twice as fast, and memory is automatically reclaimed once your containers finish. Docker VMM is available on macOS, Windows (x86), and Linux with Docker Desktop v4.101.

Docker VMM spent several months in beta while Docker hardened it and tuned its performance. Docker will gradually make it the default for new installs. If you already use Docker Desktop, nothing changes: you stay on your current backend, but you can switch whenever you like. The other backends are still supported, so new users are free to pick the one that suits them best.

Why Docker VMM was built from scratch

Docker Desktop creates and manages a Linux VM so Linux containers can run on Mac and Windows. The virtual machine monitor (VMM) creates that VM using the host OS's native virtualization tools. Until now, Docker Desktop relied on third-party VMM technology. Docker has now built its own VMM from the ground up, so it can tune every part of the engine for containers and improve it on its own schedule. According to Docker, that brings:

  • Performance: The VMM is built for containers, so the paths you feel most, such as file sharing, disk, and memory, can be optimized.
  • Isolation: A fully isolated VM on every platform. That 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 is as isolated as Hyper-V, searches a large codebase about seven times faster, and returns memory to Windows when your containers finish.
  • Stability: Docker creates and manages the VM itself, so when something goes wrong in the layer underneath, the Docker team can fix it directly.
  • Room to innovate: One virtualization layer across macOS, Windows, and Linux means improvements reach every platform at once.
  • One technology across Docker: Docker Desktop and Docker Sandboxes use the same virtualization technology, so behavior stays consistent and organizations only have one layer to evaluate and secure.

Memory returned to your machine

Docker Desktop usually runs in the background while you work, and memory held by its VM is memory your browser, IDE, and other tools can't use. Until now, how much it held depended on the backend. Some reserve a fixed amount up front and keep all of it, whether your containers use it or not. Others start small and grow as needed, but never give the memory back after the work is done.

Advertisement

With Docker VMM, containers still get more memory when they need it. The difference is that once they finish, that memory goes back to your machine, so Docker Desktop only holds what your containers are actually using. On Windows, the Hyper-V backend reserves the VM's full memory allocation up front and holds it the whole time, while the WSL 2 backend already reclaims memory. Docker VMM combines WSL 2's memory behavior with Hyper-V's isolation, in a standalone VM that Docker creates and manages. That means you can run memory-heavy work like a large image build, a test suite with its databases, or a local Kubernetes cluster, and get the memory back when it's done.

Faster file access in your project folder

Bind mounts share your project folder from the host into a container, for example through a Compose service or a dev container. In a dev container, nearly everything goes through them: your terminal, editor tooling, and tests. Docker tested this with the PostHog repository, a large open-source monorepo. Compared with the other backends, the results were:

  • First search across a large codebase: 2.6x faster on Mac. On Windows, 19.5x against WSL 2 and 7.0x against Hyper-V.
  • Creating a second working copy with git worktree add: 2.2x on Mac. On Windows, 6.8x against WSL 2 and 3.7x against Hyper-V.
  • Many small files and their metadata: 2.3x on Mac. On Windows, 4.6x against WSL 2 and 6.4x against Hyper-V. This is what happens during 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.

One note for Windows users: these checks keep the project on the Windows drive. For WSL 2, Docker itself recommends keeping code inside the WSL file system because it's faster on that backend, so the WSL 2 comparison reflects the Windows-drive setup.

For developers who run Docker on a laptop alongside a browser and an IDE, the biggest gains are likely to be memory that frees up sooner and lighter file operations in large projects. These numbers come from Docker's own testing, and since existing users aren't moved automatically, you can try it without touching a setup that already works.

Source: docker.com

Advertisement
Category Updates
Share
A

Written by

Andreas Budi Ekayana

Andreas Budi Ekayana is the founder of AndreDEV Studio, a Bandung-based digital development studio established in 2011. Drawing on more than a decade of experience as a developer and designer, Andreas writes about techno...

See more articles

Comments 0

No comments yet. Be the first to share your thoughts.

Leave a comment

Comments are moderated automatically. Please be respectful. 0 / 1500