Docker Community Forums

Share and learn in the Docker community.

Opening jupyter in docker container

I am a newbiew …and I am facing issues to open jupyter notebook in the docker container … i tried lot of commands and even tried to replace the with the ip of the container but didnt work

I am connecting to a server via a VPN and then building and running via the putty
I used the following command for accessing the jupyer

docker run -it --name n4 -p 8888:8888 jupyter/datascience-notebook. This command generated the localhost link but it doesnt work …says site site cant be reached… I even replaced it with the ip address of the container found using the following command

docker inspect --format=’{{.Name}} {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}’ $(docker ps -q)
but still doesnt work …please help me … really stuck on this for quite long now !!

Since you published the port, use the external IP of your machin