I pulled the docker image and is up to date. When I run it it says that it's going to be accessible at 8888 on my localhost but when I try to access it resource can't be found.

Here is the output:

sudo docker run jupyter/scipy-notebook #jupyter
[sudo] password for tech: 
Execute the command
[I 06:16:54.964 NotebookApp] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret
[W 06:16:55.137 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.
[I 06:16:55.195 NotebookApp] JupyterLab alpha preview extension loaded from /opt/conda/lib/python3.5/site-packages/jupyterlab
[I 06:16:55.211 NotebookApp] Serving notebooks from local directory: /home/jovyan
[I 06:16:55.211 NotebookApp] 0 active kernels 
[I 06:16:55.211 NotebookApp] The Jupyter Notebook is running at: http://[all ip addresses on your system]:8888/?token=8bc0bf76526f10c078aad705f48f80598fe17aade9897db8
[I 06:16:55.211 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 06:16:55.212 NotebookApp] 

    Copy/paste this URL into your browser when you connect for the first time,
    to login with a token:

what could I be doing wrong?

  • 2
    Please don't post text as images. Instead copy-paste and format it accordingly. Thanks. Jun 21, 2017 at 6:15
  • 1
    @DanCornilescu noted Jun 21, 2017 at 6:17
  • 1
    sudo docker run jupyter/scipy-notebook -p 8888:8888 and localhost port on host will work. As is it's accessible on localhost of the container only.
    – Tensibai
    Jun 21, 2017 at 7:53
  • 1
    Just wrote it from memory :)
    – Tensibai
    Jun 21, 2017 at 8:07
  • 1
    @J.Doe did you try 'jupyter notebook list'.. it shows currently running servers and the respective tokens Jun 30, 2017 at 12:35

1 Answer 1


It turned out to be an issue with port mapping. After mapping local machine port 8888 to docker's 8888 I could launch the program in browser.

sudo docker run -p 8888:8888 jupyter/scipy-notebook 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.