random-forests / tensorflow-workshop

Slides and code from our TensorFlow workshop.
Apache License 2.0
720 stars 309 forks source link

cloud-install issues #12

Open aloosley opened 7 years ago

aloosley commented 7 years ago

I seemed to have several issues with the cloud install. Specifically getting the docker running and code cloned:

After running docker run -it -p 8888:8888 -p 6006:6006 tensorflow/tensorflow bash, then inside the container I am unable to clone the git repository:

root@bd70aea44e99:/notebooks# git clone https://github.com/random-forests/tensorflow-workshop.git
bash: git: command not found

Later when I try to run jupyter notebook, that doesn't seem to work either:

root@bd70aea44e99:/notebooks# jupyter notebook
[W 16:41:22.749 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.
[C 16:41:22.756 NotebookApp] Running as root is not recommended. Use --allow-root to bypass.
root@bd70aea44e99:/notebooks# 

Thanks in advance for the setup help.

wolffg commented 7 years ago

You should be running git on your base machine, not within the docker image, as git is not installed on the image.

I just tried jupyter notebook with the latest, and it worked for me. As noted in the instructions, you should be using --allow-root.