Install and Access Jupyter Notebook via Docker
How to install/access Jupyter Notebook via the Floydhub docker and access a notebook
Note: We previously looked at [how to download and install])2017-04-13-DL-Docker.md) Docker, making a directory named sharedfolder
in our home directory in the process.
- Turn on docker (you may have this installed and run it via your Mac Menu bar).
- In Terminal, run
docker run -it -p 8888:8888 -p 6666:6666 -v /Users/<yourAccountName>/sharedfolder/:/root/sharedfolder floydhub/dl-docker:cpu bash
. If you don’t have it all installed, it will install (wait…). Make sure you replace<YourAccountName>
. - It may prompt you for your password. Type it in.
- Run
jupyter notebook
- Go to browser. Type in
localhost:8888
- In the browser ipython/jupyter, click New > Open Terminal (this all happens in the browser)
- In Jupyter in the browser Terminal, go to your sharedfolder
cd sharedfolder
- In a separate window, go to our findbyimage repository, go to
notebooks/word2vec/
or click here. - Click on
word2vec.ipynb.zip
and click on the download button and download it into the sharedfolder on your computer. - Unzip it.
- Go back to your jupyter notebook in the browser and click on the word2vec.ipynb notebook to launch it