Skip to content
/ gpu-wslg Public template

Template for using WSLg (Windows Subsystem for Linux GUI) with NVIDIA GPU on Docker Container

License

Notifications You must be signed in to change notification settings

0V/gpu-wslg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gpu-wslg

This is a minimal template for using WSLg (Windows Subsystem for Linux GUI) with NVIDIA GPU on Docker Container (Ubuntu 20.04).

Require

  • Windows 11
  • WSL2 (latest)
  • Docker Desktop
    • docker
    • docker-compose V2
  • GPU

Installation

docker compose up -d --build
docker compose exec gpu-wslg /bin/bash

Try!

You can use the following commands to test WSLg on Docker Container.

apt install -y x11-apps
xeyes

result

image

And you can use the following commands to test WSLg on Docker Container with GPU.

apt install -y mesa-utils
glxinfo -B
glxgears

result

image

About

Template for using WSLg (Windows Subsystem for Linux GUI) with NVIDIA GPU on Docker Container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published