boot2docker / boot2docker

DEPRECATED; see https://github.com/boot2docker/boot2docker/pull/1408
https://github.com/boot2docker/boot2docker/pull/1408
Apache License 2.0
8.34k stars 1.29k forks source link

Opening Ipython notebook from docker #553

Open rcielak opened 9 years ago

rcielak commented 9 years ago

I am using a Surface Pro 3 with Windows Pro 8.1. I'm trying to acces an IPython notebook from docker. The command I am using is

ipython notebook --no-browser --port 8888 "--ip=*"

The notebook is running but it is not opening in my browser, this is what I get when I run it [I 23:16:44.921 NotebookApp]B Using existing profile dir: u'/home/itam/.ipython/profile_default' [I 23:16:44.990 NotebookApp]B Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js [C 23:16:45.012 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended. [C 23:16:45.012 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using authentication. This is highly insecure and not recommended. [I 23:16:45.018 NotebookApp]B Serving notebooks from local directory: /home/itam/mate-computacional/itam-mate-computacional [I 23:16:45.018 NotebookApp]B 0 active kernels

[I 23:16:45.019 NotebookApp]B Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

The IP address of my virtual machine is 192.168.59.103, but the page http://192.168.59.103:8888/ does not open the notebook

odewahn commented 9 years ago

Try plain http (not https)

http://192.168.59.103:8888

rcielak commented 9 years ago

It doen't work

tianon commented 9 years ago

I'm a little confused, and I think there's some information missing here. Are you trying to run this inside Docker? Are you running this on your host and trying to connect to it from Docker?

If it's running inside docker, are you mapping the port to the boot2docker VM using -p 8888:8888?

rcielak commented 9 years ago

I am trying to run it inside docker. Yes, I did map the port with -p 8888:8888

jakirkham commented 8 years ago

This may be relevant for people trying to use iPython in a docker container. ( https://github.com/ipython/ipython/issues/7062 )