docker for tensorflow 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 tensorflow/tensorflow bash
$ docker run -it --rm --runtime=nvidia tensorflow/tensorflow:latest-gpu python
$ docker run -it --rm tensorflow/tensorflow bash