minimal-dockerfile icon indicating copy to clipboard operation
minimal-dockerfile copied to clipboard

Creating Notebook Failed

Open DrAndiLowe opened this issue 6 years ago • 1 comments

Hello,

I launched Binder from this repo using the 2nd "launch Binder" button and tried to create a new notebook. I get the following error:

Creating Notebook Failed An error occurred while creating a new notebook. Permission denied: Untitled.ipynb

Is this expected behaviour? (The 1st button in the README works fine; I can create a new notebook.)

DrAndiLowe avatar Feb 21 '19 14:02 DrAndiLowe

I think the fix is to add WORKDIR /tmp to the Dockerfile in the truly-minimal branch.

The reason you can't create a notebook is that the working directory is / where a normal user isn't allowed to write. Not sure I understand why this ever worked :-/

betatim avatar Feb 28 '19 18:02 betatim