Running a repo2docker built container pushed to Dockerhub on Linux running docker causes a “permission denied” error when trying to create / save a notebook in a shared volume directory, apparently because directories mounted inside the container (eg
-v $PWD:/home/jovyan/notebooks) is owned by root.
docker exec -u 0 mycontainer chown -R jovyan /home/jovyan
on host fixes the permissions and allows notebooks to be saved.
Is there a way to start the container that doesn’t require this fix?