Repository navigation
Update Docker instructions - #51
Conversation
| # 1. Install Docker (<a href="https://store.docker.com/editions/community/docker-ce-desktop-mac">Mac</a>, <a href="https://store.docker.com/editions/community/docker-ce-desktop-windows">Win</a>, <a href="https://store.docker.com/editions/community/docker-ce-server-ubuntu">Linux</a>) | ||
| # 2. Run the following commands: | ||
| <span class="unselectable">> </span>docker pull brainiak/brainiak | ||
| <span class="unselectable">> </span>docker run -it -p 8888:8888 -v brainiak:/mnt --name demo brainiak/brainiak |
There was a problem hiding this comment.
Why don't we need to mount the volume anymore?
There was a problem hiding this comment.
We never needed to mount it. Mounting a volume is a way to save data generated in the container, but it is not necessary. In other words, I think it we should aim for as simple an example as possible here.
| # 2. Run the following commands: | ||
| <span class="unselectable">> </span>docker pull brainiak/brainiak | ||
| <span class="unselectable">> </span>docker run -it -p 8888:8888 -v brainiak:/mnt --name demo brainiak/brainiak | ||
| <span class="unselectable">> </span>python3 -m notebook --allow-root --no-browser --ip=0.0.0.0 |
There was a problem hiding this comment.
Is the Jupyter notebook started automatically now?
| <span class="unselectable">> </span>python3 -m notebook --allow-root --no-browser --ip=0.0.0.0 | ||
| # 3. Visit <a href="http://localhost:8888">http://localhost:8888</a></code> | ||
| <span class="unselectable">> </span>docker run -it -p 8899:8899 --name demo brainiak/brainiak | ||
| # 3. Copy token from command output. Try an example in your browser (paste token when prompted): <a href="http://127.0.0.1:8899/notebooks/examples/funcalign/rsrm_synthetic_reconstruction.ipynb">http://127.0.0.1:8899/notebooks/examples/funcalign/rsrm_synthetic_reconstruction.ipynb</a></code> |
There was a problem hiding this comment.
Should we also have a link to all the notebooks/examples folder? I'm wondering if they would know how to navigate to the other examples?
There was a problem hiding this comment.
We could, but I think we should keep it the code here as simple as possible, as I mentioned in my previous comment. We could add more extensive examples somewhere else.
No description provided.