Cannot see Ipython notebook interface on a browser using Docker Kitematic

I found data science environment image on Kitematic and so I installed and tried use it. But Although I could successfully ran and logs say that

The IPython Notebook is running at: https://[all ip addresses on your system]:8888/

, I cannot open localhost:8888. Could someone help?

  • Creating image in Docker fails
  • Is it possible for a the host to authenticate to a KDC running on a Docker container?
  • Running ipython notebook in a Docker Container
  • How can I define my ENV variables once in the DockerFile and pass them down to my spark image which is submitted by a supervisord managed script?
  • Symfony 2 application on Vagrant + Docker
  • GitLab CE on Kubernetes - error executing run on gitlab/ssh
  • Docker port:8888

    MAC IP port: 192.168.99.100:32768

    Below is Container log on Kitematic.

    Generating a 2048 bit RSA private key
    ...................................+++
    ........................................................+++
    writing new private key to '/key.pem'
    -----
    [W 22:46:12.956 NotebookApp](B Unrecognized alias: '--matplotlib=inline', it will probably have no effect.
    [I 22:46:12.966 NotebookApp](B Writing notebook server cookie secret to /root/.ipython/profile_default/security/notebook_cookie_secret
    [I 22:46:12.968 NotebookApp](B Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
    [I 22:46:13.013 NotebookApp](B Serving notebooks from local directory: /notebooks
    [I 22:46:13.015 NotebookApp](B 0 active kernels 
    [I 22:46:13.015 NotebookApp](B The IPython Notebook is running at: https://[all ip addresses on your system]:8888/
    [I 22:46:13.016 NotebookApp](B Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
    [W 22:46:49.788 NotebookApp](B SSL Error on 7 ('192.168.99.1', 63676): [Errno 1] _ssl.c:510: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
    [E 22:46:49.797 NotebookApp](B Uncaught exception
        Traceback (most recent call last):
          File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 693, in _server_request_loop
            ret = yield conn.read_response(request_delegate)
          File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 870, in run
            value = future.result()
          File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
            raise_exc_info(self._exc_info)
          File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 876, in run
            yielded = self.gen.throw(*exc_info)
          File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 168, in _read_message
            quiet_exceptions=iostream.StreamClosedError)
          File "/usr/local/lib/python2.7/dist-packages/tornado/gen.py", line 870, in run
            value = future.result()
          File "/usr/local/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
            raise_exc_info(self._exc_info)
          File "<string>", line 3, in raise_exc_info
        SSLError: [Errno 1] _ssl.c:510: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
    

  • django+nginx docker seems did not load static files
  • Connection refused: PHPUnit selenium in Docker
  • How to set specs file for gcc in Docker container
  • Dockerfile: create ENV variable that a USER can see?
  • Kubernetes: cant install Dashboard
  • Running Flask app in a Docker container
  • One Solution collect form web for “Cannot see Ipython notebook interface on a browser using Docker Kitematic”

    If you are not on Linux, you would need to port-forward 8888 to your actual host (Windows or Mac) through the VM.
    See “Connect to a Service running inside a docker container from outside”

    VBoxManage controlvm "default" natpf1 "tcp-port8888,tcp,,8888,,8888"
    VBoxManage controlvm "default" natpf1 "udp-port8888,udp,,8888,,8888"
    

    (Replace default with the name of your docker-machine: see docker-machine ls)

    You can also try and use directly the IP of your docker machine:

    docker-machine IP <name of VM>
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.