Sunday, 23 September 2018

Remote Jupyter Notebook + Docker -- Doesn't Update File Directory?

I'm currently working with a remote Jupyter notebook (through a docker image), and am having an issue with finding a folder that exists in the directory (where I'm running the notebook) but doesn't exist in the notebook tree.

Command I'm using to execute the notebook:

nvidia-docker run -it -p 8888:8888 --entrypoint /usr/local/bin/jupyter NAMEOFDOCKERIMAGE notebook --allow-root --ip=0.0.0.0 --no-browser

Command I'm using to access the notebook remotely:

ssh -N -f -L localhost:8888:localhost:8888 remote_user@remote_host

What's weird is that if I navigate to the notebook's working directory (on the remote host / server) and add a folder + files, the notebook will not reflect the changes (i.e. mkdir new_folder in the working directory will not add new_folder to the notebook's tree).

Would anyone know why this could be the case, and if so, how to "refresh" / "update" the tree?

Thanks so much for all and any help!



from Remote Jupyter Notebook + Docker -- Doesn't Update File Directory?

No comments:

Post a Comment