Tensorflow docker on MAC
1 min readSep 23, 2020
Step 1
docker run -it --rm tensorflow/tensorflow \python -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
You will see something like this
Step 2
docker run -it tensorflow/tensorflow bash
You will see something like this
As you can see, it just works.
If you want to visit a specified folder, type this
docker run -it --rm -v $PWD:/tmp -w /tmp tensorflow/tensorflow
Use Dockfile
See my other article.
Thanks for reading. Happy coding. Happy engineering.