DEPRECATED: Please use NVIDIA Docker.
Ubuntu Core 14.04 + CUDA 7.5.18.
The container must have all NVIDIA devices attached to it for CUDA to work properly.
Therefore the command will be as such: docker run -it --device /dev/nvidiactl --device /dev/nvidia-uvm --device /dev/nvidia0 kaixhin/cuda.
With 4 GPUs this would also have to include --device /dev/nvidia1 --device /dev/nvidia2 --device /dev/nvidia3.
For more information on CUDA on Docker, see the repo readme.
As the image is intended to be lightweight, the CUDA samples were not installed. If you wish to experiment with the samples you will need to install them yourself. The steps are as below:
wget http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_7.5.18_linux.run
chmod +x cuda_*_linux.run
./cuda_*_linux.run -extract=`pwd`
./cuda-samples-linux-*.run -noprompt
Please note that you may need to install other packages in order to compile some of the CUDA samples.
If you find this useful in research please consider citing this work.
Content type
Image
Digest
Size
1.7 GB
Last updated
over 8 years ago
docker pull giffordlab/cuda