Sign inSign up

bryanlarsen/docker-nvidia-puppeteer-test

By bryanlarsen

•Updated over 6 years ago

Docker-nvidia puppeteer test

Image
0

2.2K

bryanlarsen/docker-nvidia-puppeteer-test repository overview

⁠docker-nvidia puppeteer test

docker build -t glxgears .
xhost +si:localuser:root
docker run --runtime=nvidia -ti --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix glxgears

Where DISPLAY is a real Xorg session with nvidia driver >= 390.

Running it should display something like:

Google Inc. ANGLE (NVIDIA Corporation GeForce GTX 1050/PCIe/SSE2 OpenGL 4.5 core)

There is also an xdummy.conf and [email protected]⁠ that can be used in place of a real display.

sudo systemctl start xdummy@10
export DISPLAY=:10
docker run --runtime=nvidia -ti --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix glxgears

Tag summary

Content type

Image

Digest

Size

357.1 MB

Last updated

over 6 years ago

docker pull bryanlarsen/docker-nvidia-puppeteer-test