bgruening / docker-jupyter-notebook

:whale: :microscope: :books: Jupyter running in a docker container. This image can be used to integrate Jupyter into Galaxy
MIT License
35 stars 39 forks source link

The green button always saves the notebook "ipython_galaxy_notebook.ipynb" into my history #47

Open mzhuangsdsc opened 3 years ago

mzhuangsdsc commented 3 years ago

After clicking the "New Notebook" option and select "Python 3", I get a new notebook. I rename it to "another_book". And then I click the green button that is supposed to save the current notebook (e.g. "another_book") into my history. But instead of doing that, it actually saves the other notebook called "ipython_galaxy_notebook.ipynb" into my history. Is this caused by a bug in the container? Thank you very much!

bgruening commented 3 years ago

Oh, indeed what the button is doing is saving the ipython_galaxy_notebook.ipynb ... we need to enhance the button I think.

mzhuangsdsc commented 3 years ago

Thanks a lot for the information! Another question: the version of Python 3 in this container is 3.5.2, right? How to upgrade it to 3.8? Thanks a lot!

bgruening commented 3 years ago

We would need to rebuild the image with a more recent version, e.g. changing this line: https://github.com/bgruening/docker-jupyter-notebook/blob/master/Dockerfile#L3

mzhuangsdsc commented 3 years ago

Thanks a lot for the information! What should that line be changed to?

Thanks.

bgruening commented 3 years ago

@mzhuangsdsc can you try to :ie2 image. This has a newer python version.

mzhuangsdsc commented 3 years ago

Hi Mr. Grüning. Thanks a lot for the information! I tried to use ie2, but the container always exits after I start it. I am using exactly the same command that I use for version 17.09 and version 17.09 is working fine. So are there any special parameters that I need to specify when using ie2?

Please see below container information:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ccba2432f3ab quay.io/bgruening/docker-jupyter-notebook:17.09 "tini -- /bin/sh -c …" 5 minutes ago Up 5 minutes 0.0.0.0:7070->8888/tcp gie_a2fcca49ddf8448ab93d1b3583abf564 09d99bc2fff6 quay.io/bgruening/docker-jupyter-notebook:ie2 "tini -g -- /bin/sh …" 14 minutes ago Exited (1) 14 minutes ago aie_a2fcca49ddf8448ab93d1b3583abf564