/cudagl-novnc-lxde

This is a Dockerfile to use OpenGL/CUDA/Vulkan application on Docker container with NVIDIA GPU.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

atinfinity/cudagl

Introduction

This is a Dockerfile to use OpenGL/CUDA/Vulkan application on Docker container with NVIDIA GPU.

glxgears vulkaninfo
glxgears vulkaninfo

Requirements

  • NVIDIA graphics driver
  • Docker
  • nvidia-docker2

Build docker image

non-root user

docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t atinfinity/cudagl:11.8.0-cudnn8-devel-ubuntu22.04 .

root user

docker build -t atinfinity/cudagl:11.8.0-cudnn8-devel-ubuntu22.04 -f Dockerfile.root .

Launch docker container

./launch_container.sh