Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 842 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 842 Bytes

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