Docker: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
sudo docker run -it -p 8888:8888 jupyter/pyspark-notebook jupyter notebook --no-browser --allow-root --ip=0.0.0.0 | sudo docker run -it -p 8888:8888 jupyter/pyspark-notebook jupyter notebook --no-browser --allow-root --ip=0.0.0.0 | ||
</pre> | </pre> | ||
Then access it from a browser: | |||
<pre>http://docker1.bpopp.net:8888 | |||
</pre> | |||
You'll need the token from the docker terminal the first time accessing the notebook. |
Revision as of 10:45, 30 October 2019
Run
Not ideal because it resets whenever you start the container. Need a better way:
sudo docker run -it -p 8888:8888 jupyter/pyspark-notebook jupyter notebook --no-browser --allow-root --ip=0.0.0.0
Then access it from a browser:
http://docker1.bpopp.net:8888
You'll need the token from the docker terminal the first time accessing the notebook.