tensorflow on docker code example
Example 1: tensorflow docker hub
$ docker run -it --rm --runtime=nvidia tensorflow/tensorflow:latest-gpu python
Example 2: tensorflow docker hub
$ docker run -it --rm -v $(realpath ~/notebooks):/tf/notebooks -p 8888:8888 tensorflow/tensorflow:latest-jupyter