Skip to content

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

License

Notifications You must be signed in to change notification settings

atinfinity/cudagl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published