Hostname in link printed to access the notebook server
See original GitHub issueSeems like when we switch to notebook 5.5 the link printed in the output will no longer work for people. See for example https://github.com/jupyter/docker-stacks/issues/642
Two questions:
- what is our policy for bumping versions on things like the notebook?
- should we hardcode the
--hostname
argument to docker inrepo2docker
to belocalhost
or0.0.0.0
or something else entirely?
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Hostname in link printed to access the notebook server #325
Seems like when we switch to notebook 5.5 the link printed in the output will no longer work for people.
Read more >python - Specify hostname to jupyter notebook when running ...
You should first generate the config file: jupyter notebook --generate-config. Then using the config file you can set the custom URL by ...
Read more >Running a notebook server
This document describes how you can secure a notebook server and how to run it on a public interface.
Read more >How to get your notebook server running (Quickstart ...
First, just run this command and you'll see that printf simply prints the properly formatted parameters to the screen. The \n character is...
Read more >How to determine your computer's hostname and hardware ...
Press the Start button, type cmd , then press Enter to start up a command shell · Type ipconfig /all · The hardware...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
From https://github.com/jupyter/notebook/pull/3668 it looks like there will be a configuration option for this in notebook in the next release of the notebook.
Currently repo2docker uses notebook v5.4 so we aren’t yet impacted by this. I’d suggest we don’t update the default version of the notebook to v5.5 and wait till https://github.com/jupyter/notebook/pull/3668 has been merged and released. Then go straight for that version with the appropriate configuration set in the default command repo2docker executes.
In that case I’d be in favor of some sort of a solution where the host and port is decided “from the outside” and passed in to the container somehow (env vars?) and those passed in values are printed out when the server reports the connection URL. Sadly, I don’t know the details on how to implement this, but I suspect it should be possible, maybe as some sort of a wrapper to
docker run
?