A Dockerfile to build a basic PyCUDA Docker image.
504
FROM ubuntu:16.04
RUN apt-get update
# To avoid selection of keyboard during install ENV DEBIAN_FRONTEND noninteractive
RUN apt-get install -y python3-pycuda
# python3 as default command RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
RUN apt-get install -y python3-pip python3-tk RUN pip3 install py4j matplotlib
docker run --device=/dev/nvidiactl --device=/dev/nvidia-uvm --device=/dev/nvidia0 ...
Content type
Image
Digest
Size
1.4 GB
Last updated
over 8 years ago
docker pull activeeon/pycuda