Solved.
I was digging around on various forums looking into the new error i was receiving. I saw one post suggesting ‘experimental features’ from Docker settings > Daemon, should be turned off. In hope rather than expectation, I turned experimental features ‘on’, as my setting was already off. Miraculously, this allows me to run the image and jupyter notebook. No idea why. The url i had to copy onto my browser went as follows: http://(572887568e37 or 127.0.0.1):8888/?token=a069361e348d97b30b42db38dcaa725b0ff1ff3cf9b21a68 where I edited it in the browser and selected the 127.0.0.1 i/p i.e. ran the following in the browser… *http://127.0.0.1:8888/?token=a069361e348d97b30b42db38dcaa725b0ff1ff3cf9b21a68* <http://127.0.0.1:8888/?token=a069361e348d97b30b42db38dcaa725b0ff1ff3cf9b21a68> Thanks for the help John On Tuesday, 28 August 2018 11:28:56 UTC+1, John McLean wrote: > > Hi, > > I was following this tutorial ( > https://miykael.github.io/nipype_tutorial/notebooks/introduction_docker.html) > to try and run jupyter notebooks from within a docker container. My docker > installation and image pull were successful. I can also run the container > image to start with bash or ipython. However, on starting the container > with jupyter notebook, I can't get past the token/password screen on my > browser. > > Here is the output from powershell on my host PC (running windows 10 64 > bit). My version of docker is 18.06 as so is up to date as of today 28/8/18. > > Running the command: > > docker run -it --rm -p 8888:8888 miykael/nipype_tutorial jupyter notebook > > The output is as follows: > > > [I 10:25:05.104 NotebookApp] [nb_conda_kernels] enabled, 2 kernels found > [I 10:25:05.111 NotebookApp] Writing notebook server cookie secret to > /home/neuro/.local/share/jupyter/runtime/notebook_cookie_secret > [I 10:25:05.297 NotebookApp] [jupyter_nbextensions_configurator] enabled > 0.4.0 > [I 10:25:05.324 NotebookApp] JupyterLab extension loaded from > /opt/miniconda-latest/envs/neuro/lib/python3.6/site-packages/jupyterlab > [I 10:25:05.324 NotebookApp] JupyterLab application directory is > /opt/miniconda-latest/envs/neuro/share/jupyter/lab > [I 10:25:05.495 NotebookApp] [nb_conda] enabled > [I 10:25:05.495 NotebookApp] Serving notebooks from local directory: > /home/neuro/nipype_tutorial > [I 10:25:05.496 NotebookApp] The Jupyter Notebook is running at: > [I 10:25:05.496 NotebookApp] http://(2bb4cef2b045 or > 127.0.0.1):8888/?token=a0d6863f5b451c7f763d4d4e20bc7e7c3bd4cd2d3b36e24f > [I 10:25:05.496 NotebookApp] Use Control-C to stop this server and shut > down all kernels (twice to skip confirmation). > [W 10:25:05.497 NotebookApp] No web browser found: could not locate > runnable browser. > [C 10:25:05.497 NotebookApp] > > Copy/paste this URL into your browser when you connect for the first > time, > to login with a token: > http://(2bb4cef2b045 or > 127.0.0.1):8888/?token=a0d6863f5b451c7f763d4d4e20bc7e7c3bd4cd2d3b36e24f > > On copying the URL to the browser and adjusting to try different options, > have tried: > > > http://127.0.0.1:8888/?token=a0d6863f5b451c7f763d4d4e20bc7e7c3bd4cd2d3b36e24f > > http://localhost:8888/?token=a0d6863f5b451c7f763d4d4e20bc7e7c3bd4cd2d3b36e24f > http://0.0.0.0:8888/?token=a0d6863f5b451c7f763d4d4e20bc7e7c3bd4cd2d3b36e24f > > http://'mydockerNATip':8888/?token=a0d6863f5b451c7f763d4d4e20bc7e7c3bd4cd2d3b36e24f > > All of these either bring up the jupyter token/password page or fail. I > tried logging into the docker with bash to set a password as per the > jypyter guide, but this this didn't help. > > Does anyone have an idea where I am going wrong? Any help appreciated. I > also have jupyter installed on the host machine and that has been working > fine. > > Thanks > John > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/9aac8698-982e-431b-b17b-fceafa5cdfc2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
