D2VGPU [docker-to-vulkan]
Docker to Vulkan GPU Runtime for Windows

Run your AI models in Docker using any graphics card.

D2VGPU gives Docker containers access to your GPU on Windows. If you have an AMD, Intel, or NVIDIA graphics card plugged into your PC, your containerized AI workloads now run at full GPU speed instead of stalling on the CPU.

"Your software should be able to reach your hardware, regardless of whether you are using a virtual machine or the main operating system."
POWERSHELL / CMD — DOCKER COMPOSE & RUNTIME PREVIEWd2vgpu-daemon: online
# 1. Add the d2vgpu runtime to your Docker container or compose service
> docker run --rm -it --runtime=d2vgpu -e D2VGPU_DEVICE=all ollama/ollama
# [d2vgpu] Host driver detected: AMD Radeon RX 7900 XTX (Vulkan 1.3 ICD)
# [d2vgpu] Passing through GPU compute capabilities to isolated container environment...
=======================================================
OLLAMA / LLM INFERENCE ENGINE
=======================================================
device: AMD Radeon RX 7900 XTX [Host Vulkan Passthrough]
backend: Vulkan Direct Compute (d2vgpu bridge)
status: Processing on GPU (offloaded from CPU)
compute speed: ~94% of native bare-metal hardware execution
=======================================================
[SUCCESS] AI workload executing on GPU inside isolated Docker container.
[01] The Architecture & Pipeline

Why D2VGPU exists & how it bridges the gap.

Scroll through the pipeline to see how D2VGPU restores hardware access to your Windows container environment.

[ IMAGE TBD // BACKGROUND ]
Architecture Flow & Disconnect Diagram
[ 01 // THE PROBLEM ]

The Universal Hardware Disconnect

Docker is designed to package software so it runs identically on every computer. But on Windows, containerized software has had zero access to the host graphics card unless that card was NVIDIA, simply because only NVIDIA built that proprietary bridge into Docker Desktop.

If you have an AMD or Intel GPU plugged into your PC, your containers are locked out and forced to fall back onto a sluggish CPU. D2VGPU is that missing universal connection: with one part on the Windows host and one part inside Docker.

[ IMAGE TBD // BACKGROUND ]
compose.yaml Syntax & Service Markup
[ 02 // CONFIGURATION ]

Implement the YAML File into Docker

Integrating D2VGPU into your project requires zero code changes to your software. You simply define the D2VGPU runtime inside your existing compose.yaml file and tag each container service that needs hardware access.

Whether deploying Ollama, PyTorch models, or custom Vulkan rendering jobs, marking the service guarantees immediate pass through routing without rebuilding images or changing dependencies.

[ IMAGE TBD // BACKGROUND ]
Host Daemon & Non-Kernel Speed Graph
[ 03 // RUNTIME & SPEED ]

Install Software

Install the lightweight Windows software. Operating cleanly in user space, it actively maintains a high speed shared memory connection between Docker containers and your physical graphics card.

Near-Native Speeds: D2VGPU achieves most of the card's native speed directly out of the box on AMD, Intel, and NVIDIA cards. Faster kernel level versions are in production and available on a per case direct request basis.

[ IMAGE TBD // BACKGROUND ]
Live Container Run & Hardware Output
[ 04 // EXECUTION ]

Good to Go

Start your containers with docker compose up or standard docker run. The container immediately detects your host GPU and initializes compute or graphics contexts seamlessly.

Your AI models run sealed inside Docker without security exposure to the host system, executing at full GPU speeds regardless of card manufacturer.

[02] The Perspective Breakdown

What D2VGPU means for your workflow

[ FOR DEVELOPERS ]

Zero Code Alteration

On Windows, Docker Desktop gives a container the graphics card only when it's NVIDIA. D2VGPU gives your container whatever card is in the machine. You install the Windows host service, mark your services in your compose file, and nothing changes in your application code.

[ FOR AI & SECURITY ]

Isolated Hardware Compute

You want to run local AI inside Docker so it remains sandboxed and sealed off from the rest of your operating system. Without D2VGPU on non-NVIDIA hardware, your models fall back to running sluggishly on the CPU. D2VGPU unlocks GPU acceleration instantly.

[ FOR TEAMS & INVESTORS ]

Vendor Agnostic Standard

Developers build and deploy in containers. Until now, no vendor agnostic solution existed for desktop GPUs on Windows. D2VGPU establishes a uniform layer that bridges all manufacturers across workstation and virtual machine environments.

[03] Frequently Asked Questions
Why hasn't someone fixed this already?[ + ]
NVIDIA fixed it specifically for its own cards through proprietary Docker Desktop integration. Microsoft began working on it in 2020 but never completed the Vulkan implementation. AMD built a solution tailored only to its newer enterprise data center cards. Nobody engineered a vendor agnostic desktop solution until D2VGPU. This makes container GPU acceleration uniform across all environments.
Is it fast?[ + ]
D2VGPU achieves most of the speed you would get by running directly against the card on bare metal. Exact throughput depends on the machine architecture, the specific GPU model, and the size of the workload. Faster kernel level versions are in production and available on a per case direct request basis.
Does it work on NVIDIA too?[ + ]
Yes. D2VGPU utilizes Vulkan, an open standard supported by AMD, Intel, and NVIDIA. With D2VGPU, one uniform configuration works across all three hardware makers. While NVIDIA's proprietary connection already works on its own hardware, D2VGPU provides a single agnostic standard for heterogeneous developer fleets.
How does D2VGPU work under the hood?[ + ]
D2VGPU operates with two components: one installed on Windows host, and one shim embedded inside Docker. When a container requests graphics or compute operations, calls pass across a low latency shared memory boundary directly to the host graphics driver. You simply add the runtime to your compose configuration and flag the services that require GPU access.
What is included in the Alpha release?[ + ]
The Alpha is the first version of D2VGPU available for commercial developer licenses. It runs on Windows using Docker Desktop and provides immediate acceleration for AMD, Intel, and NVIDIA cards. Our roadmap extends this exact same connection to macOS, Linux, and virtual machines.