Skip to content
/ ubuntu-nv Public

Dockerfile to create ubuntu image with nvidia drivers installed

License

Notifications You must be signed in to change notification settings

hbo/ubuntu-nv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nvidia drivers in an ubuntu docker image

This Dockerfile and the accompanying scripts builds an ubuntu image and adds the official nvidia drivers from Nvidia to the image. This requires some harmless trickery and allows to build 3d applications on top of this image (e.g. flightgear).

For the time being this is tailored to my own needs, but is easily adaptable by whoever wants to use this.

In order for this to work the official driver shell archive (e.g. NVIDIA-Linux-x86_64-390.25.run, available from here: http://www.nvidia.com/Download/index.aspx ) of Nvidia must be present in the directory of Dockerfile.

Whatever version you want to install inside the image, when you run the image, its installed driver version should match the nvidia kernel driver version installed on the docker host.

About

Dockerfile to create ubuntu image with nvidia drivers installed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages