jupyter notebook launch from inside docker container with mounted volumes from docker-machine

21 views
Skip to first unread message

Javier Moreira

unread,
Feb 13, 2019, 12:24:58 PM2/13/19
to Project Jupyter
hi, I'm having troubles to launch a jupyter notebook. 
As I mentioned the issue arrives when I mount a volume from the docker-machine. 
If I run the image alone, I could run the notebook ok, but, and this is the part I don't understand, always through launching the web inside Kitematic GUI. I can't launch the notebook copy/pasting the HTTP on the browser. 

But, it does work in this way, until, I mount a volume, and then I can't use kitematic anymore to launch the browser with the notebook. Instead, the kitematic redirect me to the shared directory. 
any help here? 

thanks so much!

Matthew Seal

unread,
Feb 15, 2019, 8:46:00 PM2/15/19
to jup...@googlegroups.com
I think this has more to do with network exposure of your container to your machine unless I am mistaking the question. Jupyter is using a host and port inside your container that may not map to the same host and port on your machine.

https://medium.freecodecamp.org/expose-vs-publish-docker-port-commands-explained-simply-434593dbc9a3 is a decent writeout outside of the docker documentation about how this is set and used.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/b75c783f-0ed9-433a-9a20-e5bcad98e7b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages