I'm new to tensorflow and Docker but was successful three weeks ago at setting up a Jupyter notebook and running several tensorflow examples. The Mac updated and I can't find that notebook and when I start a new one I get:
ModuleNotFoundError Traceback (most recent call last) in () ----> 1 import tensorflow as tf 2 hello = tf.constant('Hello, TensorFlow!') 3 sess = tf.Session() 4 print(sess.run(hello)) ModuleNotFoundError: No module named 'tensorflow'
I used the same command that worked three weeks ago:
$ docker run -it -p 8888:8888 -p 6006:6006 -v ~/lewleib/deepcars-master:/notebooks tensorflow/tensorflow
Last week I discovered a Dockerfile Image command but I can't reproduce this now. It gave:
Container ID: 4906b4b55fb2
Image. tensorflow/tensorflow
Command /run_jupyter.sh-...
Created 3 weeks ago
Ports 6006/ycp, 0.0.0.0:8888 > 8888/tcp
Now when I do docker ps
I get the headings but no information.
When I do docker run hello-world
I get
Hello from Docker!
This message shows that your installation appears to be working correctly.
How can I configure my docker image to work properly? Many thanks.