Running Jupyter Notebook In Docker
Solution 1:
You are forwarding port 8080 in the docker run
call with -p 8080:8080
. But you also need to forward port 8888 by adding -p 8888:8888
. More specifically, you want to run:
docker-it-p8080:8080-p8888:8888jupyter/minimal-notebook
Solution 2:
First thing is Jupyter nootbook runs on port 8888. If you want to access the notebook on a diff port on your host you should map it like this -p 80:8888.
If you don't mind using the defaults, you should use run the following command.
Run this command: docker run -p 8888:8888 jupyter/minimal-notebook
. Then
replace the host name in the url given in terminal with localhost like this
http://localhost:8888/\?token\=<TOKEN>\&token\=<TOKEN>
This should work.
Note: If you map it to a diff port, you should replace it in the url you get in the terminal. Ex. http://localhost:80/\?token\=<TOKEN>\&token\=<TOKEN>
Post a Comment for "Running Jupyter Notebook In Docker"