Docker Community Forums

Share and learn in the Docker community.

How to create cuda 8.0 + opengl image


(Annabell3) #1

I have a project required cuda 8.0 and opengl. However https://hub.docker.com/r/nvidia/cudagl/ only has cuda 9 + opengl images.

When I try to install cuda 8.0 using .deb file based on nvidia/opengl:1.0-glvnd-devel image. There is an error:
Errors were encountered while processing:
nvidia-384
nvidia-opencl-icd-384
nvidia-375
nvidia-384-dev
nvidia-opencl-icd-375
libcuda1-384
cuda-drivers
nvidia-375-dev
libcuda1-375
cuda-runtime-8-0
cuda-8-0
cuda-demo-suite-8-0
cuda

the output of nvidia-smi is:
±----------------------------------------------------------------------------+
| NVIDIA-SMI 396.37 Driver Version: 396.37 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 105… Off | 00000000:02:00.0 On | N/A |
| 0% 33C P8 N/A / 72W | 889MiB / 4038MiB | 0% Default |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
±----------------------------------------------------------------------------+

Does anyone know how to create cuda 8.0 + opengl images?