#!/bin/bash

sudo docker run -ti --device /dev/nvidia0:/dev/nvidia0 --device \
  /dev/nvidiactl:/dev/nvidiactl --device /dev/nvidia-uvm:/dev/nvidia-uvm \
  -v "$(dirname "`pwd`")":/home/theano/research --net=host djpetti/rpinets-theano /bin/bash

#!/bin/bash

sudo nvidia-docker run -ti -v "$(dirname "`pwd`")":/home/theano/research --net=host djpetti/rpinets-theano /bin/bash

Use nvidia docker instead of normal docker.
Use nvidia docker instead of normal docker.

This simplifies the process by not requiring any weird device
arguments.
