tensorflow-workshop icon indicating copy to clipboard operation
tensorflow-workshop copied to clipboard

cloud-install issues

Open aloosley opened this issue 8 years ago • 1 comments

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.

aloosley avatar Jun 03 '17 16:06 aloosley

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.

wolffg avatar Jun 05 '17 16:06 wolffg