Notebook: Unable to connect to the web application of Jupyter notebook from docker container

Created on 18 Oct 2016  路  1Comment  路  Source: jupyter/notebook

I am running a docker container and I need to connect to Jupyter notebook from my container. I have installed the Jupyter notebooks and on executing the command "jupyter notebook" for running the notebook, the following message is displayed:
image
On opening the web application in Chrome using "http://192.168.99.101:8888/", an error is displayed stating the site cannot be reached. Could someone help me in connecting the Jupyter notebook web application.

Any help is appreciated.

Environment Question

Most helpful comment

Not sure if this is any help for you, but try (on the host machine):
docker ps

And inspect the "ports" column. It should say "0.0.0.0:8888->8888/tcp". If not, Docker is not forwarding the ports correctly, likely due to the way that you started the container. Using -p 8888:8888 as a parameter when running the container could fix it.

>All comments

Not sure if this is any help for you, but try (on the host machine):
docker ps

And inspect the "ports" column. It should say "0.0.0.0:8888->8888/tcp". If not, Docker is not forwarding the ports correctly, likely due to the way that you started the container. Using -p 8888:8888 as a parameter when running the container could fix it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fonnesbeck picture fonnesbeck  路  3Comments

pylang picture pylang  路  3Comments

cancan101 picture cancan101  路  3Comments

mikepqr picture mikepqr  路  3Comments

mowe96 picture mowe96  路  3Comments