fix(compose): support Docker Desktop WSL2 NVIDIA workflow - #3973
Draft
karttikjangid wants to merge 1 commit into
Draft
fix(compose): support Docker Desktop WSL2 NVIDIA workflow#3973karttikjangid wants to merge 1 commit into
karttikjangid wants to merge 1 commit into
Conversation
javizqh
requested changes
Aug 20, 2026
| - LD_LIBRARY_PATH=/usr/lib/wsl/lib | ||
| devices: | ||
| - /dev/dri | ||
| - PYTHONPATH=/RoboticsApplicationManager |
Member
There was a problem hiding this comment.
This should not be needed as it has worked before without it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the Windows-specific NVIDIA Docker Compose configurations to
support Docker Desktop with WSL2.
Problem
The existing Windows NVIDIA Compose configuration attempts to expose
/dev/dri.That device is not available in the WSL2 GPU environment used by Docker Desktop,
where the GPU is exposed through the WSL2 graphics stack instead.
This causes the container to fail before the RoboticsAcademy application starts.
Changes
compose_cfg/dev_humble_nvidia_windows.yaml.compose_cfg/user_humble_nvidia_windows.yaml./dev/dridevice mapping from the Windows-specific NVIDIAconfigurations only.
environmentdefinition in the Windows userconfiguration so the YAML has a single effective environment block.
Validation
Tested on Windows 11 with Docker Desktop and WSL2:
/dev/dridevice error.Scope
This PR is limited to the Docker Desktop + WSL2 Windows workflow.
It does not modify RoboticsApplicationManager, exercise code, or the Linux
Docker workflow.