Christopher Posted June 19, 2018 Share Posted June 19, 2018 (edited) I'm trying to mount a local unRAID appdata folder to the working folder in docker container jupyter/scipy-notebook. The container runs and works fine except my work is not being saved to my volume mount. I believe the problem has to do with incorrect values in the "Extra Parameters" section for the User Id and Group Id. I've tried 99 and 0 as values. Can anyone help me get this working? Your help is appreciated! Thanks! Documentation for volume mounts on this image: Quote Host volume mounts and notebook errors If you are mounting a host directory as /home/jovyan/work in your container and you receive permission errors or connection errors when you create a notebook, be sure that the jovyan user (UID=1000 by default) has read/write access to the directory on the host. Alternatively, specify the UID of the jovyan user on container startup using the -e NB_UID option described in the Common Features, Docker Options section 2 https://jupyter-docker-stacks.readthedocs.io/en/latest/using/recipes.html#host-volume-mounts-and-notebook-errors Docker Options for this Image: https://jupyter-docker-stacks.readthedocs.io/en/latest/using/common.html#Docker-Options My Configuration: Edited June 19, 2018 by Christopher Quote Link to comment
Christopher Posted June 19, 2018 Author Share Posted June 19, 2018 I figured it out. I assumed the default user in the container was jovyan so I didn't set it. After reading the docs again, I explicitly set the NB_USER and now it works. Extra Parameters: --user root -e NB_USER="jovyan" -e NB_UID="1000" -e NB_GID="100" Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.