Docker-stacks: Redo PR to change jupyter_server_config

Created on 22 Feb 2021  路  6Comments  路  Source: jupyter/docker-stacks

https://github.com/jupyter/docker-stacks/blob/c3d5df67c8b158b0aded401a647ea97ada1dd085/base-notebook/jupyter_notebook_config.py#L11-L13

Please redo this commit c41616d7f30ed957f1fdf523819d328083270062
in order to change the file jupyter_notebook_config.py to jupyter_server_config.py and change the Notebook fields.

Thanks! :)

Need Info

All 6 comments

@romainx this is your commit :)

If you have some time, could you check this out, please?

Hello @ChristophSchranz & @mathbunnyru,

The commit you mention has been replaced by the following code that basically does the same thing without file duplication.
https://github.com/jupyter/docker-stacks/blob/c3d5df67c8b158b0aded401a647ea97ada1dd085/base-notebook/Dockerfile#L159-L161

You can check that everything is fine in the resulting base-notebook.

$ docker run -t jupyter/base-notebook:latest grep ServerApp /etc/jupyter/jupyter_server_config.py
# c.ServerApp.ip = '0.0.0.0'
# c.ServerApp.port = 8888
# c.ServerApp.open_browser = False
# c.ServerApp.certfile = pem_file

@ChristophSchranz please could you confirm that it's Ok for you?

Thanks

Yes that should be okay.

I've found that the problem was caused by a deprecated cached dependency. Rebuilding without cache (docker build --no-cache -t tagname .build/) solved this issue for me:

Thanks for the quick response and maintenance!

I always use --pull to make sure, that I use the latest (and, hopefully, greatest) version of Docker image.

Was this page helpful?
0 / 5 - 0 ratings