docker
command line toolnvidia-docker run -it tensorflow/tensorflow:latest-gpu
If you don’t want to use the nvidia-docker wrapper, you can add the command line arguments manually:
docker run \
--device=/dev/nvidiactl \
--device=/dev/nvidia-uvm \
--device=/dev/nvidia0 \
...
We forked the TensorFlow image and added support for Python 3 https://hub.docker.com/u/quantlane/tensorflow
docker
group.docker exec -it ...
sudo
.)