Jupyter config is broken: ip='*' has been removed #106
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pulling the latests Docker cpu image and running it results in the following error:
This is probably also the case for the GPU image. This comes from a breaking change introduced in a dependency of Jupyter which has not yet been fixed, see this thread.
This pull requests fixes the problem using
ip='0.0.0.0'
rather the now broken thanip='*'
option.Until this gets merged, those that want to use the local installation to work on their projects can use the following workaround:
Run the docker image as usual, but appending the
bash
command to open a terminal:docker run --init -it --rm -p 8888:8888 -v
pwd:/src udacity/carnd-term1-starter-kit bash
Edit the
jupyter_notebook_config.py
file directlysed -i "s/c.NotebookApp.ip = '\*'/c.NotebookApp.ip = '0.0.0.0'/" /root/.jupyter/jupyter_notebook_config.py
Run the notebook server:
nohup /run.sh &
(and then "ENTER" twice)Copy the token from the output of:
cat nohup.out
Detach from the docker terminal using ctrl+P then ctrl+Q.
To shutdown the notebook when you're done, use
docker stop <docker_pid>
wheredocker_pid
is retrieved fromdocker ps
.